public static interface PreviewAgentsResponse.Builder extends InspectorResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPreviewAgentsResponse.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 method that creates an instance of theAgentPreview.Builder avoiding the need to create one
manually via AgentPreview.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #agentPreviews(List.
agentPreviews - a consumer that will call methods on
AgentPreview.Builder#agentPreviews(java.util.Collection) 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 © 2023. All rights reserved.