Interface InboundEmailContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InboundEmailContent.Builder,InboundEmailContent>,SdkBuilder<InboundEmailContent.Builder,InboundEmailContent>,SdkPojo
- Enclosing class:
- InboundEmailContent
public static interface InboundEmailContent.Builder extends SdkPojo, CopyableBuilder<InboundEmailContent.Builder,InboundEmailContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InboundEmailContent.BuildermessageSourceType(String messageSourceType)The message source type, that is,RAW.InboundEmailContent.BuildermessageSourceType(InboundMessageSourceType messageSourceType)The message source type, that is,RAW.default InboundEmailContent.BuilderrawMessage(Consumer<InboundRawMessage.Builder> rawMessage)The raw email body content.InboundEmailContent.BuilderrawMessage(InboundRawMessage rawMessage)The raw email body content.-
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
InboundEmailContent.Builder messageSourceType(String messageSourceType)
The message source type, that is,
RAW.- Parameters:
messageSourceType- The message source type, that is,RAW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InboundMessageSourceType,InboundMessageSourceType
-
messageSourceType
InboundEmailContent.Builder messageSourceType(InboundMessageSourceType messageSourceType)
The message source type, that is,
RAW.- Parameters:
messageSourceType- The message source type, that is,RAW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InboundMessageSourceType,InboundMessageSourceType
-
rawMessage
InboundEmailContent.Builder rawMessage(InboundRawMessage 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 InboundEmailContent.Builder rawMessage(Consumer<InboundRawMessage.Builder> rawMessage)
The raw email body content.
This is a convenience method that creates an instance of theInboundRawMessage.Builderavoiding the need to create one manually viaInboundRawMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torawMessage(InboundRawMessage).- Parameters:
rawMessage- a consumer that will call methods onInboundRawMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rawMessage(InboundRawMessage)
-
-