@Generated(value="software.amazon.awssdk:codegen") public final class AddHeaderAction extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
headerName()
The name of the header to add to the incoming message.
|
String |
headerValue()
The content to include in the header.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AddHeaderAction.Builder> |
serializableBuilderClass() |
AddHeaderAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String headerName()
The name of the header to add to the incoming message. 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.
public final String headerValue()
The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (
\n) or carriage return (\r) characters.
\n) or carriage return (\r) characters.public AddHeaderAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AddHeaderAction.Builder,AddHeaderAction>public static AddHeaderAction.Builder builder()
public static Class<? extends AddHeaderAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.