@Generated(value="software.amazon.awssdk:codegen") public final class RollbackTrigger extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>
A rollback trigger AWS CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALARM state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.
Modifier and Type | Class and Description |
---|---|
static interface |
RollbackTrigger.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the rollback trigger.
|
static RollbackTrigger.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RollbackTrigger.Builder> |
serializableBuilderClass() |
RollbackTrigger.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The resource type of the rollback trigger.
|
copy
public String arn()
The Amazon Resource Name (ARN) of the rollback trigger.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
public String type()
The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.
public RollbackTrigger.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>
public static RollbackTrigger.Builder builder()
public static Class<? extends RollbackTrigger.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.