Interface CreateVoiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateVoiceResponse.Builder,,CreateVoiceResponse> PollyResponse.Builder,SdkBuilder<CreateVoiceResponse.Builder,,CreateVoiceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateVoiceResponse
@Mutable
@NotThreadSafe
public static interface CreateVoiceResponse.Builder
extends PollyResponse.Builder, SdkPojo, CopyableBuilder<CreateVoiceResponse.Builder,CreateVoiceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateVoiceResponse.Buildervoice(Consumer<Voice.Builder> voice) The new voice, inpendingstatus.The new voice, inpendingstatus.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.polly.model.PollyResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
voice
The new voice, in
pendingstatus.- Parameters:
voice- The new voice, inpendingstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voice
The new voice, in
This is a convenience method that creates an instance of thependingstatus.Voice.Builderavoiding the need to create one manually viaVoice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoice(Voice).- Parameters:
voice- a consumer that will call methods onVoice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-