Interface ListAgentStatusesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<ListAgentStatusesResponse.Builder,
,ListAgentStatusesResponse> SdkBuilder<ListAgentStatusesResponse.Builder,
,ListAgentStatusesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAgentStatusesResponse
public static interface ListAgentStatusesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListAgentStatusesResponse.Builder,ListAgentStatusesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentStatusSummaryList
(Collection<AgentStatusSummary> agentStatusSummaryList) A summary of agent statuses.agentStatusSummaryList
(Consumer<AgentStatusSummary.Builder>... agentStatusSummaryList) A summary of agent statuses.agentStatusSummaryList
(AgentStatusSummary... agentStatusSummaryList) A summary of agent statuses.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatusSummaryList
ListAgentStatusesResponse.Builder agentStatusSummaryList(Collection<AgentStatusSummary> agentStatusSummaryList) A summary of agent statuses.
- Parameters:
agentStatusSummaryList
- A summary of agent statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatusSummaryList
ListAgentStatusesResponse.Builder agentStatusSummaryList(AgentStatusSummary... agentStatusSummaryList) A summary of agent statuses.
- Parameters:
agentStatusSummaryList
- A summary of agent statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatusSummaryList
ListAgentStatusesResponse.Builder agentStatusSummaryList(Consumer<AgentStatusSummary.Builder>... agentStatusSummaryList) A summary of agent statuses.
This is a convenience method that creates an instance of theAgentStatusSummary.Builder
avoiding the need to create one manually viaAgentStatusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentStatusSummaryList(List<AgentStatusSummary>)
.- Parameters:
agentStatusSummaryList
- a consumer that will call methods onAgentStatusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-