Class BouncedRecipientInfo

    • Constructor Detail

      • BouncedRecipientInfo

        public BouncedRecipientInfo()
    • Method Detail

      • setRecipient

        public void setRecipient​(String recipient)

        The email address of the recipient of the bounced email.

        Parameters:
        recipient - The email address of the recipient of the bounced email.
      • getRecipient

        public String getRecipient()

        The email address of the recipient of the bounced email.

        Returns:
        The email address of the recipient of the bounced email.
      • withRecipient

        public BouncedRecipientInfo withRecipient​(String recipient)

        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

        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.

        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

        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.

        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

        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.

        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

        public void setBounceType​(String bounceType)

        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 or RecipientDsnFields.
        See Also:
        BounceType
      • getBounceType

        public String 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:
        BounceType
      • withBounceType

        public BouncedRecipientInfo withBounceType​(String bounceType)

        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 or RecipientDsnFields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BounceType
      • setBounceType

        public void setBounceType​(BounceType bounceType)

        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 or RecipientDsnFields.
        See Also:
        BounceType
      • withBounceType

        public BouncedRecipientInfo withBounceType​(BounceType bounceType)

        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 or RecipientDsnFields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BounceType
      • setRecipientDsnFields

        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.

        Parameters:
        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.
      • getRecipientDsnFields

        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.

        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 or BounceType.
      • withRecipientDsnFields

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object