public static interface PreviewAgentsResponse.Builder extends InspectorResponse.Builder, CopyableBuilder<PreviewAgentsResponse.Builder,PreviewAgentsResponse>
Modifier and Type | Method and Description |
---|---|
PreviewAgentsResponse.Builder |
agentPreviews(AgentPreview... agentPreviews)
The resulting list of agents.
|
PreviewAgentsResponse.Builder |
agentPreviews(Collection<AgentPreview> agentPreviews)
The resulting list of agents.
|
PreviewAgentsResponse.Builder |
agentPreviews(Consumer<AgentPreview.Builder>... 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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.
agentPreviews
- The resulting list of agents.PreviewAgentsResponse.Builder agentPreviews(Consumer<AgentPreview.Builder>... agentPreviews)
The resulting list of agents.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #agentPreviews(List)
.agentPreviews
- a consumer that will call methods on List.Builder
#agentPreviews(List)
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.