Interface BouncedRecipientInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BouncedRecipientInfo.Builder,BouncedRecipientInfo>, SdkBuilder<BouncedRecipientInfo.Builder,BouncedRecipientInfo>, SdkPojo
Enclosing class:
BouncedRecipientInfo

public static interface BouncedRecipientInfo.Builder extends SdkPojo, CopyableBuilder<BouncedRecipientInfo.Builder,BouncedRecipientInfo>
  • Method Details

    • recipient

      BouncedRecipientInfo.Builder recipient(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.
    • recipientArn

      BouncedRecipientInfo.Builder recipientArn(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.
    • bounceType

      BouncedRecipientInfo.Builder bounceType(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

      BouncedRecipientInfo.Builder bounceType(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:
    • recipientDsnFields

      BouncedRecipientInfo.Builder recipientDsnFields(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.
    • recipientDsnFields

      default BouncedRecipientInfo.Builder recipientDsnFields(Consumer<RecipientDsnFields.Builder> 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.

      This is a convenience method that creates an instance of the RecipientDsnFields.Builder avoiding the need to create one manually via RecipientDsnFields.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recipientDsnFields(RecipientDsnFields).

      Parameters:
      recipientDsnFields - a consumer that will call methods on RecipientDsnFields.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: