Interface SearchRoutingProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchRoutingProfilesResponse.Builder,,SearchRoutingProfilesResponse> SdkBuilder<SearchRoutingProfilesResponse.Builder,,SearchRoutingProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchRoutingProfilesResponse
@Mutable
@NotThreadSafe
public static interface SearchRoutingProfilesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchRoutingProfilesResponse.Builder,SearchRoutingProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount(Long approximateTotalCount) The total number of routing profiles which matched your search query.If there are additional results, this is the token for the next set of results.routingProfiles(Collection<RoutingProfile> routingProfiles) Information about the routing profiles.routingProfiles(Consumer<RoutingProfile.Builder>... routingProfiles) Information about the routing profiles.routingProfiles(RoutingProfile... routingProfiles) Information about the routing profiles.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
routingProfiles
Information about the routing profiles.
- Parameters:
routingProfiles- Information about the routing profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingProfiles
Information about the routing profiles.
- Parameters:
routingProfiles- Information about the routing profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingProfiles
SearchRoutingProfilesResponse.Builder routingProfiles(Consumer<RoutingProfile.Builder>... routingProfiles) Information about the routing profiles.
This is a convenience method that creates an instance of theRoutingProfile.Builderavoiding the need to create one manually viaRoutingProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingProfiles(List<RoutingProfile>).- Parameters:
routingProfiles- a consumer that will call methods onRoutingProfile.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 routing profiles which matched your search query.
- Parameters:
approximateTotalCount- The total number of routing profiles which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-