Interface ListVoiceProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkVoiceResponse.Builder,CopyableBuilder<ListVoiceProfilesResponse.Builder,,ListVoiceProfilesResponse> SdkBuilder<ListVoiceProfilesResponse.Builder,,ListVoiceProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVoiceProfilesResponse
public static interface ListVoiceProfilesResponse.Builder
extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<ListVoiceProfilesResponse.Builder,ListVoiceProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token used to retrieve the next page of results.voiceProfiles(Collection<VoiceProfileSummary> voiceProfiles) The list of voice profiles.voiceProfiles(Consumer<VoiceProfileSummary.Builder>... voiceProfiles) The list of voice profiles.voiceProfiles(VoiceProfileSummary... voiceProfiles) The list of voice profiles.Methods inherited from interface software.amazon.awssdk.services.chimesdkvoice.model.ChimeSdkVoiceResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
voiceProfiles
The list of voice profiles.
- Parameters:
voiceProfiles- The list of voice profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceProfiles
The list of voice profiles.
- Parameters:
voiceProfiles- The list of voice profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceProfiles
ListVoiceProfilesResponse.Builder voiceProfiles(Consumer<VoiceProfileSummary.Builder>... voiceProfiles) The list of voice profiles.
This is a convenience method that creates an instance of theVoiceProfileSummary.Builderavoiding the need to create one manually viaVoiceProfileSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceProfiles(List<VoiceProfileSummary>).- Parameters:
voiceProfiles- a consumer that will call methods onVoiceProfileSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token used to retrieve the next page of results.
- Parameters:
nextToken- The token used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-