@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BouncedRecipientInfo extends Object implements 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.
Constructor and Description |
---|
BouncedRecipientInfo() |
Modifier and Type | Method and Description |
---|---|
BouncedRecipientInfo |
clone() |
boolean |
equals(Object obj) |
String |
getBounceType()
The reason for the bounce.
|
String |
getRecipient()
The email address of the recipient of the bounced email.
|
String |
getRecipientArn()
This parameter is used only for sending authorization.
|
RecipientDsnFields |
getRecipientDsnFields()
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType . |
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 a
BounceType . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BouncedRecipientInfo |
withBounceType(BounceType bounceType)
The reason for the bounce.
|
BouncedRecipientInfo |
withBounceType(String bounceType)
The reason for the bounce.
|
BouncedRecipientInfo |
withRecipient(String recipient)
The email address of the recipient of the bounced email.
|
BouncedRecipientInfo |
withRecipientArn(String recipientArn)
This parameter is used only for sending authorization.
|
BouncedRecipientInfo |
withRecipientDsnFields(RecipientDsnFields recipientDsnFields)
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType . |
public void setRecipient(String recipient)
The email address of the recipient of the bounced email.
recipient
- The email address of the recipient of the bounced email.public String getRecipient()
The email address of the recipient of the bounced email.
public BouncedRecipientInfo withRecipient(String recipient)
The email address of the recipient of the bounced email.
recipient
- The email address of the recipient of the bounced email.public void setRecipientArn(String 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.
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.public String 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.
public BouncedRecipientInfo withRecipientArn(String 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.
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.public void setBounceType(String bounceType)
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
bounceType
- The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.BounceType
public String getBounceType()
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
RecipientDsnFields
.BounceType
public BouncedRecipientInfo withBounceType(String bounceType)
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
bounceType
- The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.BounceType
public void setBounceType(BounceType bounceType)
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
bounceType
- The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.BounceType
public BouncedRecipientInfo withBounceType(BounceType bounceType)
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
bounceType
- The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.BounceType
public void setRecipientDsnFields(RecipientDsnFields recipientDsnFields)
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter or BounceType
.
recipientDsnFields
- Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter or BounceType
.public RecipientDsnFields 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 or BounceType
.
BounceType
. You must provide either this parameter or BounceType
.public BouncedRecipientInfo withRecipientDsnFields(RecipientDsnFields recipientDsnFields)
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter or BounceType
.
recipientDsnFields
- Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
. You must provide either this parameter or BounceType
.public String toString()
toString
in class Object
Object.toString()
public BouncedRecipientInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.