@Generated(value="software.amazon.awssdk:codegen") public final class AddHeaderAction extends Object implements ToCopyableBuilder<AddHeaderAction.Builder,AddHeaderAction>
When included in a receipt rule, this action adds a header to the received email.
For information about adding a header using a receipt rule, see the Amazon SES Developer Guide.
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
AddHeaderAction.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static AddHeaderAction.Builder | 
builder()  | 
boolean | 
equals(Object obj)  | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)  | 
int | 
hashCode()  | 
String | 
headerName()
 The name of the header to add. 
 | 
String | 
headerValue()
 Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n"). 
 | 
static Class<? extends AddHeaderAction.Builder> | 
serializableBuilderClass()  | 
AddHeaderAction.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
copypublic String headerName()
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.
public String headerValue()
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
public AddHeaderAction.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<AddHeaderAction.Builder,AddHeaderAction>public static AddHeaderAction.Builder builder()
public static Class<? extends AddHeaderAction.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.