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.BuildervoiceProfile(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, 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 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.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:
-