Interface SearchRoutingProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchRoutingProfilesResponse.Builder,
,SearchRoutingProfilesResponse> SdkBuilder<SearchRoutingProfilesResponse.Builder,
,SearchRoutingProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchRoutingProfilesResponse
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, 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
-
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.Builder
avoiding the need to create one manually viaRoutingProfile.builder()
.When the
Consumer
completes,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.
-