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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BouncedRecipientInfo.Builder
bounceType(String bounceType)
The reason for the bounce.BouncedRecipientInfo.Builder
bounceType(BounceType 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 aBounceType
.BouncedRecipientInfo.Builder
recipientDsnFields(RecipientDsnFields recipientDsnFields)
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with aBounceType
.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 orRecipientDsnFields
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BounceType
,BounceType
-
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 orRecipientDsnFields
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BounceType
,BounceType
-
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 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.
-
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
This is a convenience method that creates an instance of theBounceType
. You must provide either this parameter orBounceType
.RecipientDsnFields.Builder
avoiding the need to create one manually viaRecipientDsnFields.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecipientDsnFields(RecipientDsnFields)
.- Parameters:
recipientDsnFields
- a consumer that will call methods onRecipientDsnFields.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recipientDsnFields(RecipientDsnFields)
-
-