Class RollbackTrigger
java.lang.Object
software.amazon.awssdk.services.cloudformation.model.RollbackTrigger
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the rollback trigger.static RollbackTrigger.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends RollbackTrigger.Builder>final StringtoString()Returns a string representation of this object.final Stringtype()The resource type of the rollback trigger.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
-
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.
- Returns:
- The Amazon Resource Name (ARN) of the rollback trigger.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
-
type
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
- Returns:
- The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>
-
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
-