Interface SearchAgentStatusesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchAgentStatusesResponse.Builder,
,SearchAgentStatusesResponse> SdkBuilder<SearchAgentStatusesResponse.Builder,
,SearchAgentStatusesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchAgentStatusesResponse
public static interface SearchAgentStatusesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchAgentStatusesResponse.Builder,SearchAgentStatusesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentStatuses
(Collection<AgentStatus> agentStatuses) The search criteria to be used to return agent statuses.agentStatuses
(Consumer<AgentStatus.Builder>... agentStatuses) The search criteria to be used to return agent statuses.agentStatuses
(AgentStatus... agentStatuses) The search criteria to be used to return agent statuses.approximateTotalCount
(Long approximateTotalCount) The total number of agent statuses which matched your search query.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
-
agentStatuses
The search criteria to be used to return agent statuses.
- Parameters:
agentStatuses
- The search criteria to be used to return agent statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatuses
The search criteria to be used to return agent statuses.
- Parameters:
agentStatuses
- The search criteria to be used to return agent statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatuses
The search criteria to be used to return agent statuses.
This is a convenience method that creates an instance of theAgentStatus.Builder
avoiding the need to create one manually viaAgentStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentStatuses(List<AgentStatus>)
.- Parameters:
agentStatuses
- a consumer that will call methods onAgentStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
approximateTotalCount
The total number of agent statuses which matched your search query.
- Parameters:
approximateTotalCount
- The total number of agent statuses which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-