Class AddHeader.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.AddHeader.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddHeader>
- Enclosing class:
AddHeader
@Stability(Stable)
public static final class AddHeader.Builder
extends Object
implements software.amazon.jsii.Builder<AddHeader>
A fluent builder for
AddHeader
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static AddHeader.Builder
create()
The name of the header to add.The value of the header to add.
-
Method Details
-
create
- Returns:
- a new instance of
AddHeader.Builder
.
-
name
The name of the header to add.Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- Parameters:
name
- The name of the header to add. This parameter is required.- Returns:
this
-
value
The value of the header to add.Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
- Parameters:
value
- The value of the header to add. This parameter is required.- Returns:
this
-
build
-