public static interface VoiceMessageContent.Builder extends SdkPojo, CopyableBuilder<VoiceMessageContent.Builder,VoiceMessageContent>
Modifier and Type | Method and Description |
---|---|
VoiceMessageContent.Builder |
callInstructionsMessage(CallInstructionsMessageType callInstructionsMessage)
Sets the value of the CallInstructionsMessage property for this object.
|
default VoiceMessageContent.Builder |
callInstructionsMessage(Consumer<CallInstructionsMessageType.Builder> callInstructionsMessage)
Sets the value of the CallInstructionsMessage property for this object.
|
default VoiceMessageContent.Builder |
plainTextMessage(Consumer<PlainTextMessageType.Builder> plainTextMessage)
Sets the value of the PlainTextMessage property for this object.
|
VoiceMessageContent.Builder |
plainTextMessage(PlainTextMessageType plainTextMessage)
Sets the value of the PlainTextMessage property for this object.
|
default VoiceMessageContent.Builder |
ssmlMessage(Consumer<SSMLMessageType.Builder> ssmlMessage)
Sets the value of the SSMLMessage property for this object.
|
VoiceMessageContent.Builder |
ssmlMessage(SSMLMessageType ssmlMessage)
Sets the value of the SSMLMessage property for this object.
|
copy
applyMutation, build
VoiceMessageContent.Builder callInstructionsMessage(CallInstructionsMessageType callInstructionsMessage)
callInstructionsMessage
- The new value for the CallInstructionsMessage property for this object.default VoiceMessageContent.Builder callInstructionsMessage(Consumer<CallInstructionsMessageType.Builder> callInstructionsMessage)
CallInstructionsMessageType.Builder
avoiding
the need to create one manually via CallInstructionsMessageType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to callInstructionsMessage(CallInstructionsMessageType)
.callInstructionsMessage
- a consumer that will call methods on CallInstructionsMessageType.Builder
callInstructionsMessage(CallInstructionsMessageType)
VoiceMessageContent.Builder plainTextMessage(PlainTextMessageType plainTextMessage)
plainTextMessage
- The new value for the PlainTextMessage property for this object.default VoiceMessageContent.Builder plainTextMessage(Consumer<PlainTextMessageType.Builder> plainTextMessage)
PlainTextMessageType.Builder
avoiding the need
to create one manually via PlainTextMessageType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to plainTextMessage(PlainTextMessageType)
.plainTextMessage
- a consumer that will call methods on PlainTextMessageType.Builder
plainTextMessage(PlainTextMessageType)
VoiceMessageContent.Builder ssmlMessage(SSMLMessageType ssmlMessage)
ssmlMessage
- The new value for the SSMLMessage property for this object.default VoiceMessageContent.Builder ssmlMessage(Consumer<SSMLMessageType.Builder> ssmlMessage)
SSMLMessageType.Builder
avoiding the need to
create one manually via SSMLMessageType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to ssmlMessage(SSMLMessageType)
.ssmlMessage
- a consumer that will call methods on SSMLMessageType.Builder
ssmlMessage(SSMLMessageType)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.