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
Modifier and TypeMethodDescriptionmessageSourceType(String messageSourceType) The message source type, that is,RAWorTEMPLATE.messageSourceType(OutboundMessageSourceType messageSourceType) The message source type, that is,RAWorTEMPLATE.default OutboundEmailContent.BuilderrawMessage(Consumer<OutboundRawMessage.Builder> rawMessage) The raw email body content.rawMessage(OutboundRawMessage rawMessage) The raw email body content.default OutboundEmailContent.BuildertemplatedMessageConfig(Consumer<TemplatedMessageConfig.Builder> templatedMessageConfig) Information about template message configuration.templatedMessageConfig(TemplatedMessageConfig templatedMessageConfig) Information about template message configuration.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, 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:
-
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:
-
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:
-
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
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:
-