@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RollbackTrigger extends Object implements Serializable, Cloneable
A rollback trigger AWS CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALERT state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.
Constructor and Description |
---|
RollbackTrigger() |
Modifier and Type | Method and Description |
---|---|
RollbackTrigger |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the rollback trigger.
|
String |
getType()
The resource type of the rollback trigger.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the rollback trigger.
|
void |
setType(String type)
The resource type of the rollback trigger.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RollbackTrigger |
withArn(String arn)
The Amazon Resource Name (ARN) of the rollback trigger.
|
RollbackTrigger |
withType(String type)
The resource type of the rollback trigger.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the rollback trigger.
arn
- The Amazon Resource Name (ARN) of the rollback trigger.public String getArn()
The Amazon Resource Name (ARN) of the rollback trigger.
public RollbackTrigger withArn(String arn)
The Amazon Resource Name (ARN) of the rollback trigger.
arn
- The Amazon Resource Name (ARN) of the rollback trigger.public void setType(String type)
The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.
type
- The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.public String getType()
The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.
public RollbackTrigger withType(String type)
The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.
type
- The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.public String toString()
toString
in class Object
Object.toString()
public RollbackTrigger clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.