Interface UpdateVoiceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkVoiceResponse.Builder,CopyableBuilder<UpdateVoiceProfileResponse.Builder,,UpdateVoiceProfileResponse> SdkBuilder<UpdateVoiceProfileResponse.Builder,,UpdateVoiceProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateVoiceProfileResponse
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, 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
-
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.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:
-