public class Stack
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The Stack data type.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
capabilities
The capabilities allowed in the stack.
|
private java.util.Date |
creationTime
The time at which the stack was created.
|
private java.lang.String |
description
A user-defined description associated with the stack.
|
private java.lang.Boolean |
disableRollback
Boolean to enable or disable rollback on stack creation failures:
|
private java.util.Date |
lastUpdatedTime
The time the stack was last updated.
|
private SdkInternalList<java.lang.String> |
notificationARNs
SNS topic ARNs to which stack related events are published.
|
private SdkInternalList<Output> |
outputs
A list of output structures.
|
private SdkInternalList<Parameter> |
parameters
A list of
Parameter structures. |
private java.lang.String |
stackId
Unique identifier of the stack.
|
private java.lang.String |
stackName
The name associated with the stack.
|
private java.lang.String |
stackStatus
Current status of the stack.
|
private java.lang.String |
stackStatusReason
Success/failure message associated with the stack status.
|
private SdkInternalList<Tag> |
tags
A list of
Tag s that specify information about the stack. |
private java.lang.Integer |
timeoutInMinutes
The amount of time within which stack creation should complete.
|
Constructor and Description |
---|
Stack() |
Modifier and Type | Method and Description |
---|---|
Stack |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCapabilities()
The capabilities allowed in the stack.
|
java.util.Date |
getCreationTime()
The time at which the stack was created.
|
java.lang.String |
getDescription()
A user-defined description associated with the stack.
|
java.lang.Boolean |
getDisableRollback()
Boolean to enable or disable rollback on stack creation failures:
|
java.util.Date |
getLastUpdatedTime()
The time the stack was last updated.
|
java.util.List<java.lang.String> |
getNotificationARNs()
SNS topic ARNs to which stack related events are published.
|
java.util.List<Output> |
getOutputs()
A list of output structures.
|
java.util.List<Parameter> |
getParameters()
A list of
Parameter structures. |
java.lang.String |
getStackId()
Unique identifier of the stack.
|
java.lang.String |
getStackName()
The name associated with the stack.
|
java.lang.String |
getStackStatus()
Current status of the stack.
|
java.lang.String |
getStackStatusReason()
Success/failure message associated with the stack status.
|
java.util.List<Tag> |
getTags()
A list of
Tag s that specify information about the stack. |
java.lang.Integer |
getTimeoutInMinutes()
The amount of time within which stack creation should complete.
|
int |
hashCode() |
java.lang.Boolean |
isDisableRollback()
Boolean to enable or disable rollback on stack creation failures:
|
void |
setCapabilities(java.util.Collection<java.lang.String> capabilities)
The capabilities allowed in the stack.
|
void |
setCreationTime(java.util.Date creationTime)
The time at which the stack was created.
|
void |
setDescription(java.lang.String description)
A user-defined description associated with the stack.
|
void |
setDisableRollback(java.lang.Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
|
void |
setLastUpdatedTime(java.util.Date lastUpdatedTime)
The time the stack was last updated.
|
void |
setNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)
SNS topic ARNs to which stack related events are published.
|
void |
setOutputs(java.util.Collection<Output> outputs)
A list of output structures.
|
void |
setParameters(java.util.Collection<Parameter> parameters)
A list of
Parameter structures. |
void |
setStackId(java.lang.String stackId)
Unique identifier of the stack.
|
void |
setStackName(java.lang.String stackName)
The name associated with the stack.
|
void |
setStackStatus(StackStatus stackStatus)
Current status of the stack.
|
void |
setStackStatus(java.lang.String stackStatus)
Current status of the stack.
|
void |
setStackStatusReason(java.lang.String stackStatusReason)
Success/failure message associated with the stack status.
|
void |
setTags(java.util.Collection<Tag> tags)
A list of
Tag s that specify information about the stack. |
void |
setTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Stack |
withCapabilities(Capability... capabilities)
The capabilities allowed in the stack.
|
Stack |
withCapabilities(java.util.Collection<java.lang.String> capabilities)
The capabilities allowed in the stack.
|
Stack |
withCapabilities(java.lang.String... capabilities)
The capabilities allowed in the stack.
|
Stack |
withCreationTime(java.util.Date creationTime)
The time at which the stack was created.
|
Stack |
withDescription(java.lang.String description)
A user-defined description associated with the stack.
|
Stack |
withDisableRollback(java.lang.Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
|
Stack |
withLastUpdatedTime(java.util.Date lastUpdatedTime)
The time the stack was last updated.
|
Stack |
withNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)
SNS topic ARNs to which stack related events are published.
|
Stack |
withNotificationARNs(java.lang.String... notificationARNs)
SNS topic ARNs to which stack related events are published.
|
Stack |
withOutputs(java.util.Collection<Output> outputs)
A list of output structures.
|
Stack |
withOutputs(Output... outputs)
A list of output structures.
|
Stack |
withParameters(java.util.Collection<Parameter> parameters)
A list of
Parameter structures. |
Stack |
withParameters(Parameter... parameters)
A list of
Parameter structures. |
Stack |
withStackId(java.lang.String stackId)
Unique identifier of the stack.
|
Stack |
withStackName(java.lang.String stackName)
The name associated with the stack.
|
Stack |
withStackStatus(StackStatus stackStatus)
Current status of the stack.
|
Stack |
withStackStatus(java.lang.String stackStatus)
Current status of the stack.
|
Stack |
withStackStatusReason(java.lang.String stackStatusReason)
Success/failure message associated with the stack status.
|
Stack |
withTags(java.util.Collection<Tag> tags)
A list of
Tag s that specify information about the stack. |
Stack |
withTags(Tag... tags)
A list of
Tag s that specify information about the stack. |
Stack |
withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
|
private java.lang.String stackId
Unique identifier of the stack.
private java.lang.String stackName
The name associated with the stack.
private java.lang.String description
A user-defined description associated with the stack.
private SdkInternalList<Parameter> parameters
A list of Parameter
structures.
private java.util.Date creationTime
The time at which the stack was created.
private java.util.Date lastUpdatedTime
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
private java.lang.String stackStatus
Current status of the stack.
private java.lang.String stackStatusReason
Success/failure message associated with the stack status.
private java.lang.Boolean disableRollback
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
private SdkInternalList<java.lang.String> notificationARNs
SNS topic ARNs to which stack related events are published.
private java.lang.Integer timeoutInMinutes
The amount of time within which stack creation should complete.
private SdkInternalList<java.lang.String> capabilities
The capabilities allowed in the stack.
private SdkInternalList<Output> outputs
A list of output structures.
private SdkInternalList<Tag> tags
A list of Tag
s that specify information about the stack.
public void setStackId(java.lang.String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public java.lang.String getStackId()
Unique identifier of the stack.
public Stack withStackId(java.lang.String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public void setStackName(java.lang.String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public java.lang.String getStackName()
The name associated with the stack.
public Stack withStackName(java.lang.String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public void setDescription(java.lang.String description)
A user-defined description associated with the stack.
description
- A user-defined description associated with the stack.public java.lang.String getDescription()
A user-defined description associated with the stack.
public Stack withDescription(java.lang.String description)
A user-defined description associated with the stack.
description
- A user-defined description associated with the stack.public java.util.List<Parameter> getParameters()
A list of Parameter
structures.
Parameter
structures.public void setParameters(java.util.Collection<Parameter> parameters)
A list of Parameter
structures.
parameters
- A list of Parameter
structures.public Stack withParameters(Parameter... parameters)
A list of Parameter
structures.
NOTE: This method appends the values to the existing list (if
any). Use setParameters(java.util.Collection)
or
withParameters(java.util.Collection)
if you want to override the
existing values.
parameters
- A list of Parameter
structures.public Stack withParameters(java.util.Collection<Parameter> parameters)
A list of Parameter
structures.
parameters
- A list of Parameter
structures.public void setCreationTime(java.util.Date creationTime)
The time at which the stack was created.
creationTime
- The time at which the stack was created.public java.util.Date getCreationTime()
The time at which the stack was created.
public Stack withCreationTime(java.util.Date creationTime)
The time at which the stack was created.
creationTime
- The time at which the stack was created.public void setLastUpdatedTime(java.util.Date lastUpdatedTime)
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
lastUpdatedTime
- The time the stack was last updated. This field will only be
returned if the stack has been updated at least once.public java.util.Date getLastUpdatedTime()
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
public Stack withLastUpdatedTime(java.util.Date lastUpdatedTime)
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
lastUpdatedTime
- The time the stack was last updated. This field will only be
returned if the stack has been updated at least once.public void setStackStatus(java.lang.String stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
public java.lang.String getStackStatus()
Current status of the stack.
StackStatus
public Stack withStackStatus(java.lang.String stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
public void setStackStatus(StackStatus stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
public Stack withStackStatus(StackStatus stackStatus)
Current status of the stack.
stackStatus
- Current status of the stack.StackStatus
public void setStackStatusReason(java.lang.String stackStatusReason)
Success/failure message associated with the stack status.
stackStatusReason
- Success/failure message associated with the stack status.public java.lang.String getStackStatusReason()
Success/failure message associated with the stack status.
public Stack withStackStatusReason(java.lang.String stackStatusReason)
Success/failure message associated with the stack status.
stackStatusReason
- Success/failure message associated with the stack status.public void setDisableRollback(java.lang.Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
disableRollback
- Boolean to enable or disable rollback on stack creation
failures:
true
: disable rollback
false
: enable rollback
public java.lang.Boolean getDisableRollback()
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
true
: disable rollback
false
: enable rollback
public Stack withDisableRollback(java.lang.Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
disableRollback
- Boolean to enable or disable rollback on stack creation
failures:
true
: disable rollback
false
: enable rollback
public java.lang.Boolean isDisableRollback()
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback
false
: enable rollback
true
: disable rollback
false
: enable rollback
public java.util.List<java.lang.String> getNotificationARNs()
SNS topic ARNs to which stack related events are published.
public void setNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)
SNS topic ARNs to which stack related events are published.
notificationARNs
- SNS topic ARNs to which stack related events are published.public Stack withNotificationARNs(java.lang.String... notificationARNs)
SNS topic ARNs 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
- SNS topic ARNs to which stack related events are published.public Stack withNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)
SNS topic ARNs to which stack related events are published.
notificationARNs
- SNS topic ARNs to which stack related events are published.public void setTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
timeoutInMinutes
- The amount of time within which stack creation should complete.public java.lang.Integer getTimeoutInMinutes()
The amount of time within which stack creation should complete.
public Stack withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
timeoutInMinutes
- The amount of time within which stack creation should complete.public java.util.List<java.lang.String> getCapabilities()
The capabilities allowed in the stack.
Capability
public void setCapabilities(java.util.Collection<java.lang.String> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Capability
public Stack withCapabilities(java.lang.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.Capability
public Stack withCapabilities(java.util.Collection<java.lang.String> capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Capability
public Stack withCapabilities(Capability... capabilities)
The capabilities allowed in the stack.
capabilities
- The capabilities allowed in the stack.Capability
public java.util.List<Output> getOutputs()
A list of output structures.
public void setOutputs(java.util.Collection<Output> outputs)
A list of output structures.
outputs
- A list of output structures.public Stack withOutputs(Output... 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 Stack withOutputs(java.util.Collection<Output> outputs)
A list of output structures.
outputs
- A list of output structures.public java.util.List<Tag> getTags()
A list of Tag
s that specify information about the stack.
Tag
s that specify information about the
stack.public void setTags(java.util.Collection<Tag> tags)
A list of Tag
s that specify information about the stack.
tags
- A list of Tag
s that specify information about the
stack.public Stack withTags(Tag... tags)
A list of Tag
s that specify information about the stack.
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or
withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of Tag
s that specify information about the
stack.public Stack withTags(java.util.Collection<Tag> tags)
A list of Tag
s that specify information about the stack.
tags
- A list of Tag
s that specify information about the
stack.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Stack clone()
clone
in class java.lang.Object