Interface OutboundEmailContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OutboundEmailContent.Builder,OutboundEmailContent>,SdkBuilder<OutboundEmailContent.Builder,OutboundEmailContent>,SdkPojo
- Enclosing class:
- OutboundEmailContent
public static interface OutboundEmailContent.Builder extends SdkPojo, CopyableBuilder<OutboundEmailContent.Builder,OutboundEmailContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OutboundEmailContent.BuildermessageSourceType(String messageSourceType)The message source type, that is,RAWorTEMPLATE.OutboundEmailContent.BuildermessageSourceType(OutboundMessageSourceType messageSourceType)The message source type, that is,RAWorTEMPLATE.default OutboundEmailContent.BuilderrawMessage(Consumer<OutboundRawMessage.Builder> rawMessage)The raw email body content.OutboundEmailContent.BuilderrawMessage(OutboundRawMessage rawMessage)The raw email body content.default OutboundEmailContent.BuildertemplatedMessageConfig(Consumer<TemplatedMessageConfig.Builder> templatedMessageConfig)Information about template message configuration.OutboundEmailContent.BuildertemplatedMessageConfig(TemplatedMessageConfig templatedMessageConfig)Information about template message configuration.-
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
-
messageSourceType
OutboundEmailContent.Builder messageSourceType(String messageSourceType)
The message source type, that is,
RAWorTEMPLATE.- Parameters:
messageSourceType- The message source type, that is,RAWorTEMPLATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OutboundMessageSourceType,OutboundMessageSourceType
-
messageSourceType
OutboundEmailContent.Builder messageSourceType(OutboundMessageSourceType messageSourceType)
The message source type, that is,
RAWorTEMPLATE.- Parameters:
messageSourceType- The message source type, that is,RAWorTEMPLATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OutboundMessageSourceType,OutboundMessageSourceType
-
templatedMessageConfig
OutboundEmailContent.Builder templatedMessageConfig(TemplatedMessageConfig templatedMessageConfig)
Information about template message configuration.
- Parameters:
templatedMessageConfig- Information about template message configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templatedMessageConfig
default OutboundEmailContent.Builder templatedMessageConfig(Consumer<TemplatedMessageConfig.Builder> templatedMessageConfig)
Information about template message configuration.
This is a convenience method that creates an instance of theTemplatedMessageConfig.Builderavoiding the need to create one manually viaTemplatedMessageConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplatedMessageConfig(TemplatedMessageConfig).- Parameters:
templatedMessageConfig- a consumer that will call methods onTemplatedMessageConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
templatedMessageConfig(TemplatedMessageConfig)
-
rawMessage
OutboundEmailContent.Builder rawMessage(OutboundRawMessage 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 OutboundEmailContent.Builder rawMessage(Consumer<OutboundRawMessage.Builder> rawMessage)
The raw email body content.
This is a convenience method that creates an instance of theOutboundRawMessage.Builderavoiding the need to create one manually viaOutboundRawMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torawMessage(OutboundRawMessage).- Parameters:
rawMessage- a consumer that will call methods onOutboundRawMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rawMessage(OutboundRawMessage)
-
-