Interface CreateVoiceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkVoiceResponse.Builder,CopyableBuilder<CreateVoiceProfileResponse.Builder,,CreateVoiceProfileResponse> SdkBuilder<CreateVoiceProfileResponse.Builder,,CreateVoiceProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateVoiceProfileResponse
@Mutable
@NotThreadSafe
public static interface CreateVoiceProfileResponse.Builder
extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<CreateVoiceProfileResponse.Builder,CreateVoiceProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvoiceProfile(Consumer<VoiceProfile.Builder> voiceProfile) The requested voice profile.voiceProfile(VoiceProfile voiceProfile) The requested voice profile.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
voiceProfile
The requested voice profile.
- Parameters:
voiceProfile- The requested voice profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceProfile
default CreateVoiceProfileResponse.Builder voiceProfile(Consumer<VoiceProfile.Builder> voiceProfile) The requested voice profile.
This is a convenience method that creates an instance of theVoiceProfile.Builderavoiding the need to create one manually viaVoiceProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceProfile(VoiceProfile).- Parameters:
voiceProfile- a consumer that will call methods onVoiceProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-