Class BounceAction
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BounceAction.Builder,BounceAction>
When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BounceAction.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()Human-readable text to include in the bounce message.final Stringsender()The email address of the sender of the bounced email.static Class<? extends BounceAction.Builder>final StringThe SMTP reply code, as defined by RFC 5321.final StringThe SMTP enhanced status code, as defined by RFC 3463.final StringtopicArn()The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
topicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can
find the ARN of a topic by using the ListTopics operation in Amazon
SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
-
smtpReplyCode
The SMTP reply code, as defined by RFC 5321.
- Returns:
- The SMTP reply code, as defined by RFC 5321.
-
statusCode
The SMTP enhanced status code, as defined by RFC 3463.
- Returns:
- The SMTP enhanced status code, as defined by RFC 3463.
-
message
Human-readable text to include in the bounce message.
- Returns:
- Human-readable text to include in the bounce message.
-
sender
The email address of the sender of the bounced email. This is the address from which the bounce message is sent.
- Returns:
- The email address of the sender of the bounced email. This is the address from which the bounce message is sent.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BounceAction.Builder,BounceAction>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-