Interface InboundRawMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InboundRawMessage.Builder,
,InboundRawMessage> SdkBuilder<InboundRawMessage.Builder,
,InboundRawMessage> SdkPojo
- Enclosing class:
InboundRawMessage
@Mutable
@NotThreadSafe
public static interface InboundRawMessage.Builder
extends SdkPojo, CopyableBuilder<InboundRawMessage.Builder,InboundRawMessage>
-
Method Summary
Modifier and TypeMethodDescriptionThe email message body.contentType
(String contentType) Type of content, that is,text/plain
ortext/html
.headers
(Map<EmailHeaderType, String> headers) Headers present in inbound email.headersWithStrings
(Map<String, String> headers) Headers present in inbound email.The email subject.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 Details
-
subject
The email subject.
- Parameters:
subject
- The email subject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The email message body.
- Parameters:
body
- The email message body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
Type of content, that is,
text/plain
ortext/html
.- Parameters:
contentType
- Type of content, that is,text/plain
ortext/html
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headersWithStrings
Headers present in inbound email.
- Parameters:
headers
- Headers present in inbound email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
Headers present in inbound email.
- Parameters:
headers
- Headers present in inbound email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-