public static final class CfnReceiptRule.AddHeaderActionProperty.Builder
extends java.lang.Object
CfnReceiptRule.AddHeaderActionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnReceiptRule.AddHeaderActionProperty |
build()
Builds the configured instance.
|
CfnReceiptRule.AddHeaderActionProperty.Builder |
headerName(java.lang.String headerName)
Sets the value of
CfnReceiptRule.AddHeaderActionProperty.getHeaderName() |
CfnReceiptRule.AddHeaderActionProperty.Builder |
headerValue(java.lang.String headerValue)
Sets the value of
CfnReceiptRule.AddHeaderActionProperty.getHeaderValue() |
public CfnReceiptRule.AddHeaderActionProperty.Builder headerName(java.lang.String headerName)
CfnReceiptRule.AddHeaderActionProperty.getHeaderName()
headerName
- The name of the header to add to the incoming message. This parameter is required.
The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.this
public CfnReceiptRule.AddHeaderActionProperty.Builder headerValue(java.lang.String headerValue)
CfnReceiptRule.AddHeaderActionProperty.getHeaderValue()
headerValue
- The content to include in the header. This parameter is required.
This value can contain up to 2048 characters. It can't contain newline ( \n
) or carriage return ( \r
) characters.this
public CfnReceiptRule.AddHeaderActionProperty build()
CfnReceiptRule.AddHeaderActionProperty
java.lang.NullPointerException
- if any required attribute was not provided