Class AddHeaderActionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ses.AddHeaderActionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddHeaderActionConfig>
- Enclosing interface:
AddHeaderActionConfig
@Stability(Stable)
public static final class AddHeaderActionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<AddHeaderActionConfig>
A builder for
AddHeaderActionConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.headerName
(String headerName) Sets the value ofAddHeaderActionConfig.getHeaderName()
headerValue
(String headerValue) Sets the value ofAddHeaderActionConfig.getHeaderValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
headerName
Sets the value ofAddHeaderActionConfig.getHeaderName()
- Parameters:
headerName
- The name of the header that you want to add to the incoming message. This parameter is required.- Returns:
this
-
headerValue
Sets the value ofAddHeaderActionConfig.getHeaderValue()
- Parameters:
headerValue
- The content that you want to include in the header. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AddHeaderActionConfig>
- Returns:
- a new instance of
AddHeaderActionConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-