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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRollbackTrigger.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the rollback trigger.static RollbackTrigger.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RollbackTrigger.Builder>serializableBuilderClass()RollbackTrigger.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The resource type of the rollback trigger.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public 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.
- 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
public final String 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
public RollbackTrigger.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RollbackTrigger.Builder,RollbackTrigger>
-
builder
public static RollbackTrigger.Builder builder()
-
serializableBuilderClass
public static Class<? extends RollbackTrigger.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-