CopyableBuilder<PreviewAgentsResponse.Builder,PreviewAgentsResponse>
, SdkBuilder<PreviewAgentsResponse.Builder,PreviewAgentsResponse>
public static interface PreviewAgentsResponse.Builder extends CopyableBuilder<PreviewAgentsResponse.Builder,PreviewAgentsResponse>
Modifier and Type | Method | Description |
---|---|---|
PreviewAgentsResponse.Builder |
agentPreviews(Collection<AgentPreview> agentPreviews) |
The resulting list of agents.
|
PreviewAgentsResponse.Builder |
agentPreviews(AgentPreview... agentPreviews) |
The resulting list of agents.
|
PreviewAgentsResponse.Builder |
nextToken(String nextToken) |
When a response is generated, if there is more data to be listed, this parameter is present in the response
and contains the value to use for the nextToken parameter in a subsequent pagination request.
|
copy
apply, build
PreviewAgentsResponse.Builder agentPreviews(Collection<AgentPreview> agentPreviews)
The resulting list of agents.
agentPreviews
- The resulting list of agents.PreviewAgentsResponse.Builder agentPreviews(AgentPreview... agentPreviews)
The resulting list of agents.
NOTE: This method appends the values to the existing list (if any). Use
#setAgentPreviews(java.util.Collection)
or #withAgentPreviews(java.util.Collection)
if you
want to override the existing values.
agentPreviews
- The resulting list of agents.PreviewAgentsResponse.Builder nextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.