Interface UpdateVoiceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkVoiceResponse.Builder
,CopyableBuilder<UpdateVoiceProfileResponse.Builder,
,UpdateVoiceProfileResponse> SdkBuilder<UpdateVoiceProfileResponse.Builder,
,UpdateVoiceProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateVoiceProfileResponse
@Mutable
@NotThreadSafe
public static interface UpdateVoiceProfileResponse.Builder
extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<UpdateVoiceProfileResponse.Builder,UpdateVoiceProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvoiceProfile
(Consumer<VoiceProfile.Builder> voiceProfile) The updated voice profile settings.voiceProfile
(VoiceProfile voiceProfile) The updated voice profile settings.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 Details
-
voiceProfile
The updated voice profile settings.
- Parameters:
voiceProfile
- The updated voice profile settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceProfile
default UpdateVoiceProfileResponse.Builder voiceProfile(Consumer<VoiceProfile.Builder> voiceProfile) The updated voice profile settings.
This is a convenience method that creates an instance of theVoiceProfile.Builder
avoiding the need to create one manually viaVoiceProfile.builder()
.When the
Consumer
completes,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:
-