@Generated(value="software.amazon.awssdk:codegen") public final class RollbackTrigger extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>
A rollback trigger 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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The resource type of the rollback trigger.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final String type()
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
public RollbackTrigger.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>public static RollbackTrigger.Builder builder()
public static Class<? extends RollbackTrigger.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.