Interface VoiceMessageContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VoiceMessageContent.Builder,,VoiceMessageContent> SdkBuilder<VoiceMessageContent.Builder,,VoiceMessageContent> SdkPojo
- Enclosing class:
VoiceMessageContent
public static interface VoiceMessageContent.Builder
extends SdkPojo, CopyableBuilder<VoiceMessageContent.Builder,VoiceMessageContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VoiceMessageContent.BuildercallInstructionsMessage(Consumer<CallInstructionsMessageType.Builder> callInstructionsMessage) Sets the value of the CallInstructionsMessage property for this object.callInstructionsMessage(CallInstructionsMessageType callInstructionsMessage) Sets the value of the CallInstructionsMessage property for this object.default VoiceMessageContent.BuilderplainTextMessage(Consumer<PlainTextMessageType.Builder> plainTextMessage) Sets the value of the PlainTextMessage property for this object.plainTextMessage(PlainTextMessageType plainTextMessage) Sets the value of the PlainTextMessage property for this object.default VoiceMessageContent.BuilderssmlMessage(Consumer<SSMLMessageType.Builder> ssmlMessage) Sets the value of the SSMLMessage property for this object.ssmlMessage(SSMLMessageType ssmlMessage) Sets the value of the SSMLMessage property for this object.Methods 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, sdkFields
-
Method Details
-
callInstructionsMessage
VoiceMessageContent.Builder callInstructionsMessage(CallInstructionsMessageType callInstructionsMessage) Sets the value of the CallInstructionsMessage property for this object.- Parameters:
callInstructionsMessage- The new value for the CallInstructionsMessage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callInstructionsMessage
default VoiceMessageContent.Builder callInstructionsMessage(Consumer<CallInstructionsMessageType.Builder> callInstructionsMessage) Sets the value of the CallInstructionsMessage property for this object. This is a convenience method that creates an instance of theCallInstructionsMessageType.Builderavoiding the need to create one manually viaCallInstructionsMessageType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallInstructionsMessage(CallInstructionsMessageType).- Parameters:
callInstructionsMessage- a consumer that will call methods onCallInstructionsMessageType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plainTextMessage
Sets the value of the PlainTextMessage property for this object.- Parameters:
plainTextMessage- The new value for the PlainTextMessage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plainTextMessage
default VoiceMessageContent.Builder plainTextMessage(Consumer<PlainTextMessageType.Builder> plainTextMessage) Sets the value of the PlainTextMessage property for this object. This is a convenience method that creates an instance of thePlainTextMessageType.Builderavoiding the need to create one manually viaPlainTextMessageType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplainTextMessage(PlainTextMessageType).- Parameters:
plainTextMessage- a consumer that will call methods onPlainTextMessageType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ssmlMessage
Sets the value of the SSMLMessage property for this object.- Parameters:
ssmlMessage- The new value for the SSMLMessage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmlMessage
Sets the value of the SSMLMessage property for this object. This is a convenience method that creates an instance of theSSMLMessageType.Builderavoiding the need to create one manually viaSSMLMessageType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tossmlMessage(SSMLMessageType).- Parameters:
ssmlMessage- a consumer that will call methods onSSMLMessageType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-