Interface InboundRawMessage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InboundRawMessage.Builder,InboundRawMessage>,SdkBuilder<InboundRawMessage.Builder,InboundRawMessage>,SdkPojo
- Enclosing class:
- InboundRawMessage
public static interface InboundRawMessage.Builder extends SdkPojo, CopyableBuilder<InboundRawMessage.Builder,InboundRawMessage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InboundRawMessage.Builderbody(String body)The email message body.InboundRawMessage.BuildercontentType(String contentType)Type of content, that is,text/plainortext/html.InboundRawMessage.Builderheaders(Map<EmailHeaderType,String> headers)Headers present in inbound email.InboundRawMessage.BuilderheadersWithStrings(Map<String,String> headers)Headers present in inbound email.InboundRawMessage.Buildersubject(String subject)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 Detail
-
subject
InboundRawMessage.Builder subject(String 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
InboundRawMessage.Builder body(String 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
InboundRawMessage.Builder contentType(String contentType)
Type of content, that is,
text/plainortext/html.- Parameters:
contentType- Type of content, that is,text/plainortext/html.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headersWithStrings
InboundRawMessage.Builder headersWithStrings(Map<String,String> 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.
-
headers
InboundRawMessage.Builder headers(Map<EmailHeaderType,String> 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.
-
-