@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFormationStackDetails extends Object implements Serializable, Cloneable, StructuredPojo
Nests a stack as a resource in a top-level template. Nested stacks are stacks created as resources for another stack.
Constructor and Description |
---|
AwsCloudFormationStackDetails() |
Modifier and Type | Method and Description |
---|---|
AwsCloudFormationStackDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCapabilities()
The capabilities allowed in the stack.
|
String |
getCreationTime()
The time at which the stack was created.
|
String |
getDescription()
A user-defined description associated with the stack.
|
Boolean |
getDisableRollback()
Boolean to enable or disable rollback on stack creation failures.
|
AwsCloudFormationStackDriftInformationDetails |
getDriftInformation()
Information about whether a stack's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.
|
Boolean |
getEnableTerminationProtection()
Whether termination protection is enabled for the stack.
|
String |
getLastUpdatedTime()
The time the nested stack was last updated.
|
List<String> |
getNotificationArns()
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
|
List<AwsCloudFormationStackOutputsDetails> |
getOutputs()
A list of output structures.
|
String |
getRoleArn()
The ARN of an IAM role that's associated with the stack.
|
String |
getStackId()
Unique identifier of the stack.
|
String |
getStackName()
The name associated with the stack.
|
String |
getStackStatus()
Current status of the stack.
|
String |
getStackStatusReason()
Success or failure message associated with the stack status.
|
Integer |
getTimeoutInMinutes()
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE state. |
int |
hashCode() |
Boolean |
isDisableRollback()
Boolean to enable or disable rollback on stack creation failures.
|
Boolean |
isEnableTerminationProtection()
Whether termination protection is enabled for the stack.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapabilities(Collection<String> capabilities)
The capabilities allowed in the stack.
|
void |
setCreationTime(String creationTime)
The time at which the stack was created.
|
void |
setDescription(String description)
A user-defined description associated with the stack.
|
void |
setDisableRollback(Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures.
|
void |
setDriftInformation(AwsCloudFormationStackDriftInformationDetails driftInformation)
Information about whether a stack's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.
|
void |
setEnableTerminationProtection(Boolean enableTerminationProtection)
Whether termination protection is enabled for the stack.
|
void |
setLastUpdatedTime(String lastUpdatedTime)
The time the nested stack was last updated.
|
void |
setNotificationArns(Collection<String> notificationArns)
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
|
void |
setOutputs(Collection<AwsCloudFormationStackOutputsDetails> outputs)
A list of output structures.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM role that's associated with the stack.
|
void |
setStackId(String stackId)
Unique identifier of the stack.
|
void |
setStackName(String stackName)
The name associated with the stack.
|
void |
setStackStatus(String stackStatus)
Current status of the stack.
|
void |
setStackStatusReason(String stackStatusReason)
Success or failure message associated with the stack status.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE state. |
String |
toString()
Returns a string representation of this object.
|
AwsCloudFormationStackDetails |
withCapabilities(Collection<String> capabilities)
The capabilities allowed in the stack.
|
AwsCloudFormationStackDetails |
withCapabilities(String... capabilities)
The capabilities allowed in the stack.
|
AwsCloudFormationStackDetails |
withCreationTime(String creationTime)
The time at which the stack was created.
|
AwsCloudFormationStackDetails |
withDescription(String description)
A user-defined description associated with the stack.
|
AwsCloudFormationStackDetails |
withDisableRollback(Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures.
|
AwsCloudFormationStackDetails |
withDriftInformation(AwsCloudFormationStackDriftInformationDetails driftInformation)
Information about whether a stack's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.
|
AwsCloudFormationStackDetails |
withEnableTerminationProtection(Boolean enableTerminationProtection)
Whether termination protection is enabled for the stack.
|
AwsCloudFormationStackDetails |
withLastUpdatedTime(String lastUpdatedTime)
The time the nested stack was last updated.
|
AwsCloudFormationStackDetails |
withNotificationArns(Collection<String> notificationArns)
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
|
AwsCloudFormationStackDetails |
withNotificationArns(String... notificationArns)
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
|
AwsCloudFormationStackDetails |
withOutputs(AwsCloudFormationStackOutputsDetails... outputs)
A list of output structures.
|
AwsCloudFormationStackDetails |
withOutputs(Collection<AwsCloudFormationStackOutputsDetails> outputs)
A list of output structures.
|
AwsCloudFormationStackDetails |
withRoleArn(String roleArn)
The ARN of an IAM role that's associated with the stack.
|
AwsCloudFormationStackDetails |
withStackId(String stackId)
Unique identifier of the stack.
|
AwsCloudFormationStackDetails |
withStackName(String stackName)
The name associated with the stack.
|
AwsCloudFormationStackDetails |
withStackStatus(String stackStatus)
Current status of the stack.
|
AwsCloudFormationStackDetails |
withStackStatusReason(String stackStatusReason)
Success or failure message associated with the stack status.
|
AwsCloudFormationStackDetails |
withTimeoutInMinutes(Integer timeoutInMinutes)
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE state. |
public List<String> getCapabilities()
The capabilities allowed in the stack.
public void setCapabilities(Collection<String> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.public AwsCloudFormationStackDetails withCapabilities(String... capabilities)
The capabilities allowed in the stack.
NOTE: This method appends the values to the existing list (if any). Use
setCapabilities(java.util.Collection)
or withCapabilities(java.util.Collection)
if you want to
override the existing values.
capabilities
- The capabilities allowed in the stack.public AwsCloudFormationStackDetails withCapabilities(Collection<String> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.public void setCreationTime(String creationTime)
The time at which the stack was created.
creationTime
- The time at which the stack was created.public String getCreationTime()
The time at which the stack was created.
public AwsCloudFormationStackDetails withCreationTime(String creationTime)
The time at which the stack was created.
creationTime
- The time at which the stack was created.public void setDescription(String description)
A user-defined description associated with the stack.
description
- A user-defined description associated with the stack.public String getDescription()
A user-defined description associated with the stack.
public AwsCloudFormationStackDetails withDescription(String description)
A user-defined description associated with the stack.
description
- A user-defined description associated with the stack.public void setDisableRollback(Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures.
disableRollback
- Boolean to enable or disable rollback on stack creation failures.public Boolean getDisableRollback()
Boolean to enable or disable rollback on stack creation failures.
public AwsCloudFormationStackDetails withDisableRollback(Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures.
disableRollback
- Boolean to enable or disable rollback on stack creation failures.public Boolean isDisableRollback()
Boolean to enable or disable rollback on stack creation failures.
public void setDriftInformation(AwsCloudFormationStackDriftInformationDetails driftInformation)
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
driftInformation
- Information about whether a stack's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.public AwsCloudFormationStackDriftInformationDetails getDriftInformation()
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
public AwsCloudFormationStackDetails withDriftInformation(AwsCloudFormationStackDriftInformationDetails driftInformation)
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
driftInformation
- Information about whether a stack's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.public void setEnableTerminationProtection(Boolean enableTerminationProtection)
Whether termination protection is enabled for the stack.
enableTerminationProtection
- Whether termination protection is enabled for the stack.public Boolean getEnableTerminationProtection()
Whether termination protection is enabled for the stack.
public AwsCloudFormationStackDetails withEnableTerminationProtection(Boolean enableTerminationProtection)
Whether termination protection is enabled for the stack.
enableTerminationProtection
- Whether termination protection is enabled for the stack.public Boolean isEnableTerminationProtection()
Whether termination protection is enabled for the stack.
public void setLastUpdatedTime(String lastUpdatedTime)
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
lastUpdatedTime
- The time the nested stack was last updated. This field will only be returned if the stack has been updated
at least once.public String getLastUpdatedTime()
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
public AwsCloudFormationStackDetails withLastUpdatedTime(String lastUpdatedTime)
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
lastUpdatedTime
- The time the nested stack was last updated. This field will only be returned if the stack has been updated
at least once.public List<String> getNotificationArns()
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
public void setNotificationArns(Collection<String> notificationArns)
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
notificationArns
- The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.public AwsCloudFormationStackDetails withNotificationArns(String... notificationArns)
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationArns(java.util.Collection)
or withNotificationArns(java.util.Collection)
if you
want to override the existing values.
notificationArns
- The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.public AwsCloudFormationStackDetails withNotificationArns(Collection<String> notificationArns)
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
notificationArns
- The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.public List<AwsCloudFormationStackOutputsDetails> getOutputs()
A list of output structures.
public void setOutputs(Collection<AwsCloudFormationStackOutputsDetails> outputs)
A list of output structures.
outputs
- A list of output structures.public AwsCloudFormationStackDetails withOutputs(AwsCloudFormationStackOutputsDetails... outputs)
A list of output structures.
NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)
or withOutputs(java.util.Collection)
if you want to override
the existing values.
outputs
- A list of output structures.public AwsCloudFormationStackDetails withOutputs(Collection<AwsCloudFormationStackOutputsDetails> outputs)
A list of output structures.
outputs
- A list of output structures.public void setRoleArn(String roleArn)
The ARN of an IAM role that's associated with the stack.
roleArn
- The ARN of an IAM role that's associated with the stack.public String getRoleArn()
The ARN of an IAM role that's associated with the stack.
public AwsCloudFormationStackDetails withRoleArn(String roleArn)
The ARN of an IAM role that's associated with the stack.
roleArn
- The ARN of an IAM role that's associated with the stack.public void setStackId(String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public String getStackId()
Unique identifier of the stack.
public AwsCloudFormationStackDetails withStackId(String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public void setStackName(String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public String getStackName()
The name associated with the stack.
public AwsCloudFormationStackDetails withStackName(String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public void setStackStatus(String stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.public String getStackStatus()
Current status of the stack.
public AwsCloudFormationStackDetails withStackStatus(String stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.public void setStackStatusReason(String stackStatusReason)
Success or failure message associated with the stack status.
stackStatusReason
- Success or failure message associated with the stack status.public String getStackStatusReason()
Success or failure message associated with the stack status.
public AwsCloudFormationStackDetails withStackStatusReason(String stackStatusReason)
Success or failure message associated with the stack status.
stackStatusReason
- Success or failure message associated with the stack status.public void setTimeoutInMinutes(Integer timeoutInMinutes)
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE
state.
timeoutInMinutes
- The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE
state.public Integer getTimeoutInMinutes()
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE
state.
CREATE_COMPLETE
state.public AwsCloudFormationStackDetails withTimeoutInMinutes(Integer timeoutInMinutes)
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE
state.
timeoutInMinutes
- The length of time, in minutes, that CloudFormation waits for the nested stack to reach the
CREATE_COMPLETE
state.public String toString()
toString
in class Object
Object.toString()
public AwsCloudFormationStackDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.