Class CfnMailManagerRuleSet.AddHeaderActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.AddHeaderActionProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnMailManagerRuleSet.AddHeaderActionProperty>
- Enclosing interface:
 CfnMailManagerRuleSet.AddHeaderActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSet.AddHeaderActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSet.AddHeaderActionProperty>
A builder for 
CfnMailManagerRuleSet.AddHeaderActionProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.headerName(String headerName) Sets the value ofCfnMailManagerRuleSet.AddHeaderActionProperty.getHeaderName()headerValue(String headerValue) Sets the value ofCfnMailManagerRuleSet.AddHeaderActionProperty.getHeaderValue() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
headerName
@Stability(Stable) public CfnMailManagerRuleSet.AddHeaderActionProperty.Builder headerName(String headerName) Sets the value ofCfnMailManagerRuleSet.AddHeaderActionProperty.getHeaderName()- Parameters:
 headerName- The name of the header to add to an email. This parameter is required. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.- Returns:
 this
 - 
headerValue
@Stability(Stable) public CfnMailManagerRuleSet.AddHeaderActionProperty.Builder headerValue(String headerValue) Sets the value ofCfnMailManagerRuleSet.AddHeaderActionProperty.getHeaderValue()- Parameters:
 headerValue- The value of the header to add to the email. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSet.AddHeaderActionProperty>- Returns:
 - a new instance of 
CfnMailManagerRuleSet.AddHeaderActionProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -