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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchAgentStatusesResponse.BuilderagentStatuses(Collection<AgentStatus> agentStatuses)The search criteria to be used to return agent statuses.SearchAgentStatusesResponse.BuilderagentStatuses(Consumer<AgentStatus.Builder>... agentStatuses)The search criteria to be used to return agent statuses.SearchAgentStatusesResponse.BuilderagentStatuses(AgentStatus... agentStatuses)The search criteria to be used to return agent statuses.SearchAgentStatusesResponse.BuilderapproximateTotalCount(Long approximateTotalCount)The total number of agent statuses which matched your search query.SearchAgentStatusesResponse.BuildernextToken(String nextToken)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 Detail
-
agentStatuses
SearchAgentStatusesResponse.Builder agentStatuses(Collection<AgentStatus> 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
SearchAgentStatusesResponse.Builder agentStatuses(AgentStatus... 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
SearchAgentStatusesResponse.Builder agentStatuses(Consumer<AgentStatus.Builder>... agentStatuses)
The search criteria to be used to return agent statuses.
This is a convenience method that creates an instance of theAgentStatus.Builderavoiding the need to create one manually viaAgentStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentStatuses(List.) - 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:
#agentStatuses(java.util.Collection)
-
nextToken
SearchAgentStatusesResponse.Builder nextToken(String 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
SearchAgentStatusesResponse.Builder approximateTotalCount(Long 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.
-
-