Class ExtensionField
- All Implemented Interfaces:
Serializable
,Cloneable
Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
The name of the header to add.getValue()
The value of the header to add.int
hashCode()
void
The name of the header to add.void
The value of the header to add.toString()
Returns a string representation of this object; useful for testing and debugging.The name of the header to add.The value of the header to add.
-
Constructor Details
-
ExtensionField
public ExtensionField()
-
-
Method Details
-
setName
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. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
-
getName
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.
- Returns:
- 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.
-
withName
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. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
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. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
-
getValue
The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
- Returns:
- The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
-
withValue
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. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-