@Generated(value="software.amazon.awssdk:codegen") public final class StopAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StopAction.Builder,StopAction>
When included in a receipt rule, this action terminates the evaluation of the receipt rule set and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about setting a stop action in a receipt rule, see the Amazon SES Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StopAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StopAction.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
StopScope |
scope()
The scope of the StopAction.
|
String |
scopeAsString()
The scope of the StopAction.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StopAction.Builder> |
serializableBuilderClass() |
StopAction.Builder |
toBuilder() |
String |
topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final StopScope scope()
The scope of the StopAction. The only acceptable value is RuleSet.
If the service returns an enum value that is not available in the current SDK version, scope will return
StopScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scopeAsString().
RuleSet.StopScopepublic final String scopeAsString()
The scope of the StopAction. The only acceptable value is RuleSet.
If the service returns an enum value that is not available in the current SDK version, scope will return
StopScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scopeAsString().
RuleSet.StopScopepublic final String topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. You can find the ARN of a topic by using the ListTopics Amazon SNS operation.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
public StopAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StopAction.Builder,StopAction>public static StopAction.Builder builder()
public static Class<? extends StopAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.