Interface GetVoiceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkVoiceResponse.Builder
,CopyableBuilder<GetVoiceProfileResponse.Builder,
,GetVoiceProfileResponse> SdkBuilder<GetVoiceProfileResponse.Builder,
,GetVoiceProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetVoiceProfileResponse
public static interface GetVoiceProfileResponse.Builder
extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<GetVoiceProfileResponse.Builder,GetVoiceProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetVoiceProfileResponse.Builder
voiceProfile
(Consumer<VoiceProfile.Builder> voiceProfile) The voice profile details.voiceProfile
(VoiceProfile voiceProfile) The voice profile details.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
voiceProfile
The voice profile details.
- Parameters:
voiceProfile
- The voice profile details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceProfile
The voice profile details.
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:
-