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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VoiceMessageContent.BuildercallInstructionsMessage(Consumer<CallInstructionsMessageType.Builder> callInstructionsMessage)Sets the value of the CallInstructionsMessage property for this object.VoiceMessageContent.BuildercallInstructionsMessage(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.VoiceMessageContent.BuilderplainTextMessage(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.VoiceMessageContent.BuilderssmlMessage(SSMLMessageType ssmlMessage)Sets the value of the SSMLMessage property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
callInstructionsMessage(CallInstructionsMessageType)
-
plainTextMessage
VoiceMessageContent.Builder plainTextMessage(PlainTextMessageType 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:
plainTextMessage(PlainTextMessageType)
-
ssmlMessage
VoiceMessageContent.Builder ssmlMessage(SSMLMessageType 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
default VoiceMessageContent.Builder ssmlMessage(Consumer<SSMLMessageType.Builder> 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:
ssmlMessage(SSMLMessageType)
-
-