public static interface CreateVoiceProfileResponse.Builder extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<CreateVoiceProfileResponse.Builder,CreateVoiceProfileResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateVoiceProfileResponse.Builder |
voiceProfile(Consumer<VoiceProfile.Builder> voiceProfile)
The requested voice profile.
|
CreateVoiceProfileResponse.Builder |
voiceProfile(VoiceProfile voiceProfile)
The requested voice profile.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateVoiceProfileResponse.Builder voiceProfile(VoiceProfile voiceProfile)
The requested voice profile.
voiceProfile - The requested voice profile.default CreateVoiceProfileResponse.Builder voiceProfile(Consumer<VoiceProfile.Builder> voiceProfile)
The requested voice profile.
This is a convenience method that creates an instance of theVoiceProfile.Builder avoiding the need
to create one manually via VoiceProfile.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to voiceProfile(VoiceProfile).
voiceProfile - a consumer that will call methods on VoiceProfile.BuildervoiceProfile(VoiceProfile)Copyright © 2023. All rights reserved.