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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListVoiceProfilesResponse.BuildernextToken(String nextToken)The token used to retrieve the next page of results.ListVoiceProfilesResponse.BuildervoiceProfiles(Collection<VoiceProfileSummary> voiceProfiles)The list of voice profiles.ListVoiceProfilesResponse.BuildervoiceProfiles(Consumer<VoiceProfileSummary.Builder>... voiceProfiles)The list of voice profiles.ListVoiceProfilesResponse.BuildervoiceProfiles(VoiceProfileSummary... voiceProfiles)The list of voice profiles.-
Methods inherited from interface software.amazon.awssdk.services.chimesdkvoice.model.ChimeSdkVoiceResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
voiceProfiles
ListVoiceProfilesResponse.Builder voiceProfiles(Collection<VoiceProfileSummary> 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(VoiceProfileSummary... 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 to#voiceProfiles(List.) - 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:
#voiceProfiles(java.util.Collection)
-
nextToken
ListVoiceProfilesResponse.Builder nextToken(String 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.
-
-