Interface UpdateOutboundEmailContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateOutboundEmailContent.Builder,,UpdateOutboundEmailContent> SdkBuilder<UpdateOutboundEmailContent.Builder,,UpdateOutboundEmailContent> SdkPojo
- Enclosing class:
UpdateOutboundEmailContent
@Mutable
@NotThreadSafe
public static interface UpdateOutboundEmailContent.Builder
extends SdkPojo, CopyableBuilder<UpdateOutboundEmailContent.Builder,UpdateOutboundEmailContent>
-
Method Summary
Modifier and TypeMethodDescriptionmessageSourceType(String messageSourceType) The message source type.messageSourceType(UpdateOutboundEmailMessageSourceType messageSourceType) The message source type.rawMessage(Consumer<UpdateOutboundRawMessage.Builder> rawMessage) The raw email body content.rawMessage(UpdateOutboundRawMessage rawMessage) The raw email body content.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, sdkFieldNameToField, sdkFields
-
Method Details
-
messageSourceType
The message source type. The only supported value is
RAW.- Parameters:
messageSourceType- The message source type. The only supported value isRAW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageSourceType
UpdateOutboundEmailContent.Builder messageSourceType(UpdateOutboundEmailMessageSourceType messageSourceType) The message source type. The only supported value is
RAW.- Parameters:
messageSourceType- The message source type. The only supported value isRAW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rawMessage
The raw email body content.
- Parameters:
rawMessage- The raw email body content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawMessage
default UpdateOutboundEmailContent.Builder rawMessage(Consumer<UpdateOutboundRawMessage.Builder> rawMessage) The raw email body content.
This is a convenience method that creates an instance of theUpdateOutboundRawMessage.Builderavoiding the need to create one manually viaUpdateOutboundRawMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torawMessage(UpdateOutboundRawMessage).- Parameters:
rawMessage- a consumer that will call methods onUpdateOutboundRawMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-