public static interface BouncedRecipientInfo.Builder extends CopyableBuilder<BouncedRecipientInfo.Builder,BouncedRecipientInfo>
Modifier and Type | Method and Description |
---|---|
BouncedRecipientInfo.Builder |
bounceType(BounceType bounceType)
The reason for the bounce.
|
BouncedRecipientInfo.Builder |
bounceType(String bounceType)
The reason for the bounce.
|
BouncedRecipientInfo.Builder |
recipient(String recipient)
The email address of the recipient of the bounced email.
|
BouncedRecipientInfo.Builder |
recipientArn(String recipientArn)
This parameter is used only for sending authorization.
|
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 . |
BouncedRecipientInfo.Builder |
recipientDsnFields(RecipientDsnFields recipientDsnFields)
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType . |
copy
apply, build
BouncedRecipientInfo.Builder recipient(String recipient)
The email address of the recipient of the bounced email.
recipient
- The email address of the recipient of the bounced email.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.
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.BouncedRecipientInfo.Builder bounceType(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
,
BounceType
BouncedRecipientInfo.Builder bounceType(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
,
BounceType
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
.
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
.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
.
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)
.recipientDsnFields
- a consumer that will call methods on RecipientDsnFields.Builder
recipientDsnFields(RecipientDsnFields)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.