Interface VoiceMessageContent.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<VoiceMessageContent.Builder,,- VoiceMessageContent> - SdkBuilder<VoiceMessageContent.Builder,,- VoiceMessageContent> - SdkPojo
- Enclosing class:
- VoiceMessageContent
@Mutable
@NotThreadSafe
public static interface VoiceMessageContent.Builder
extends SdkPojo, CopyableBuilder<VoiceMessageContent.Builder,VoiceMessageContent> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
callInstructionsMessageVoiceMessageContent.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.
 
- 
callInstructionsMessagedefault 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 on- CallInstructionsMessageType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
plainTextMessageSets 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.
 
- 
plainTextMessagedefault 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 on- PlainTextMessageType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ssmlMessageSets 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.
 
- 
ssmlMessageSets 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 on- SSMLMessageType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-