Class BouncedRecipientInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Recipient-related information 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
The reason for the bounce.The email address of the recipient of the bounced email.This parameter is used only for sending authorization.Recipient-related DSN fields, most of which would normally be filled in automatically when provided with aBounceType
.int
hashCode()
void
setBounceType
(BounceType bounceType) The reason for the bounce.void
setBounceType
(String bounceType) The reason for the bounce.void
setRecipient
(String recipient) The email address of the recipient of the bounced email.void
setRecipientArn
(String recipientArn) This parameter is used only for sending authorization.void
setRecipientDsnFields
(RecipientDsnFields recipientDsnFields) Recipient-related DSN fields, most of which would normally be filled in automatically when provided with aBounceType
.toString()
Returns a string representation of this object; useful for testing and debugging.withBounceType
(BounceType bounceType) The reason for the bounce.withBounceType
(String bounceType) The reason for the bounce.withRecipient
(String recipient) The email address of the recipient of the bounced email.withRecipientArn
(String recipientArn) This parameter is used only for sending authorization.withRecipientDsnFields
(RecipientDsnFields recipientDsnFields) Recipient-related DSN fields, most of which would normally be filled in automatically when provided with aBounceType
.
-
Constructor Details
-
BouncedRecipientInfo
public BouncedRecipientInfo()
-
-
Method Details
-
setRecipient
The email address of the recipient of the bounced email.
- Parameters:
recipient
- The email address of the recipient of the bounced email.
-
getRecipient
The email address of the recipient of the bounced email.
- Returns:
- The email address of the recipient of the bounced email.
-
withRecipient
The email address of the recipient of the bounced email.
- Parameters:
recipient
- The email address of the recipient of the bounced email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecipientArn
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
- Parameters:
recipientArn
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
-
getRecipientArn
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
- Returns:
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
-
withRecipientArn
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
- Parameters:
recipientArn
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBounceType
The reason for the bounce. You must provide either this parameter or
RecipientDsnFields
.- Parameters:
bounceType
- The reason for the bounce. You must provide either this parameter orRecipientDsnFields
.- See Also:
-
getBounceType
The reason for the bounce. You must provide either this parameter or
RecipientDsnFields
.- Returns:
- The reason for the bounce. You must provide either this parameter
or
RecipientDsnFields
. - See Also:
-
withBounceType
The reason for the bounce. You must provide either this parameter or
RecipientDsnFields
.- Parameters:
bounceType
- The reason for the bounce. You must provide either this parameter orRecipientDsnFields
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setBounceType
The reason for the bounce. You must provide either this parameter or
RecipientDsnFields
.- Parameters:
bounceType
- The reason for the bounce. You must provide either this parameter orRecipientDsnFields
.- See Also:
-
withBounceType
The reason for the bounce. You must provide either this parameter or
RecipientDsnFields
.- Parameters:
bounceType
- The reason for the bounce. You must provide either this parameter orRecipientDsnFields
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setRecipientDsnFields
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter orBounceType
.- Parameters:
recipientDsnFields
- Recipient-related DSN fields, most of which would normally be filled in automatically when provided with aBounceType
. You must provide either this parameter orBounceType
.
-
getRecipientDsnFields
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter orBounceType
.- Returns:
- Recipient-related DSN fields, most of which would normally be
filled in automatically when provided with a
BounceType
. You must provide either this parameter orBounceType
.
-
withRecipientDsnFields
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter orBounceType
.- Parameters:
recipientDsnFields
- Recipient-related DSN fields, most of which would normally be filled in automatically when provided with aBounceType
. You must provide either this parameter orBounceType
.- 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
-