public class Stack
extends java.lang.Object
implements java.io.Serializable
The Stack data type.
| コンストラクタと説明 |
|---|
Stack() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCapabilities()
The capabilities allowed in the stack.
|
java.util.Date |
getCreationTime()
Time at which the stack was created.
|
java.lang.String |
getDescription()
User defined description associated with the stack.
|
java.lang.Boolean |
getDisableRollback()
Boolean to enable or disable rollback on stack creation failures:
true: disable rollback
false: enable rollback |
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
Tags that specify cost allocation information
for 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:
true: disable rollback
false: enable rollback |
void |
setCapabilities(java.util.Collection<java.lang.String> capabilities)
The capabilities allowed in the stack.
|
void |
setCreationTime(java.util.Date creationTime)
Time at which the stack was created.
|
void |
setDescription(java.lang.String description)
User defined description associated with the stack.
|
void |
setDisableRollback(java.lang.Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
true: disable rollback
false: enable rollback |
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
Tags that specify cost allocation information
for 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(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)
Time at which the stack was created.
|
Stack |
withDescription(java.lang.String description)
User defined description associated with the stack.
|
Stack |
withDisableRollback(java.lang.Boolean disableRollback)
Boolean to enable or disable rollback on stack creation failures:
true: disable rollback
false: enable rollback
Returns a reference to this object so that method calls can be chained together. |
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
Tags that specify cost allocation information
for the stack. |
Stack |
withTags(Tag... tags)
A list of
Tags that specify cost allocation information
for the stack. |
Stack |
withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
The amount of time within which stack creation should complete.
|
public java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId - Unique identifier of the stack.public Stack withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId - Unique identifier of the stack.public java.lang.String getStackName()
public void setStackName(java.lang.String stackName)
stackName - The name associated with the stack.public Stack withStackName(java.lang.String stackName)
Returns a reference to this object so that method calls can be chained together.
stackName - The name associated with the stack.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - User defined description associated with the stack.public Stack withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - User defined description associated with the stack.public java.util.List<Parameter> getParameters()
Parameter structures.Parameter structures.public void setParameters(java.util.Collection<Parameter> parameters)
Parameter structures.parameters - A list of Parameter structures.public Stack withParameters(Parameter... parameters)
Parameter structures.
Returns a reference to this object so that method calls can be chained together.
parameters - A list of Parameter structures.public Stack withParameters(java.util.Collection<Parameter> parameters)
Parameter structures.
Returns a reference to this object so that method calls can be chained together.
parameters - A list of Parameter structures.public java.util.Date getCreationTime()
public void setCreationTime(java.util.Date creationTime)
creationTime - Time at which the stack was created.public Stack withCreationTime(java.util.Date creationTime)
Returns a reference to this object so that method calls can be chained together.
creationTime - Time at which the stack was created.public java.util.Date getLastUpdatedTime()
public void setLastUpdatedTime(java.util.Date lastUpdatedTime)
lastUpdatedTime - 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)
Returns a reference to this object so that method calls can be chained together.
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.lang.String getStackStatus()
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
StackStatuspublic void setStackStatus(java.lang.String stackStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
stackStatus - Current status of the stack.StackStatuspublic Stack withStackStatus(java.lang.String stackStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
stackStatus - Current status of the stack.StackStatuspublic void setStackStatus(StackStatus stackStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
stackStatus - Current status of the stack.StackStatuspublic Stack withStackStatus(StackStatus stackStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
stackStatus - Current status of the stack.StackStatuspublic java.lang.String getStackStatusReason()
public void setStackStatusReason(java.lang.String stackStatusReason)
stackStatusReason - Success/failure message associated with the stack status.public Stack withStackStatusReason(java.lang.String stackStatusReason)
Returns a reference to this object so that method calls can be chained together.
stackStatusReason - Success/failure message associated with the stack status.public java.lang.Boolean isDisableRollback()
true: disable rollbackfalse: enable rollback
true: disable rollbackfalse: enable rollbackpublic void setDisableRollback(java.lang.Boolean disableRollback)
true: disable rollbackfalse: enable rollbackdisableRollback - Boolean to enable or disable rollback on stack creation failures:
true: disable rollbackfalse: enable rollbackpublic Stack withDisableRollback(java.lang.Boolean disableRollback)
true: disable rollbackfalse: enable rollbackReturns a reference to this object so that method calls can be chained together.
disableRollback - Boolean to enable or disable rollback on stack creation failures:
true: disable rollbackfalse: enable rollbackpublic java.lang.Boolean getDisableRollback()
true: disable rollbackfalse: enable rollback
true: disable rollbackfalse: enable rollbackpublic java.util.List<java.lang.String> getNotificationARNs()
Constraints:
Length: 0 - 5
public void setNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)
Constraints:
Length: 0 - 5
notificationARNs - SNS topic ARNs to which stack related events are published.public Stack withNotificationARNs(java.lang.String... notificationARNs)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
notificationARNs - SNS topic ARNs to which stack related events are published.public Stack withNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
notificationARNs - SNS topic ARNs to which stack related events are published.public java.lang.Integer getTimeoutInMinutes()
Constraints:
Range: 1 -
public void setTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
Constraints:
Range: 1 -
timeoutInMinutes - The amount of time within which stack creation should complete.public Stack withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
timeoutInMinutes - The amount of time within which stack creation should complete.public java.util.List<java.lang.String> getCapabilities()
public void setCapabilities(java.util.Collection<java.lang.String> capabilities)
capabilities - The capabilities allowed in the stack.public Stack withCapabilities(java.lang.String... capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities - The capabilities allowed in the stack.public Stack withCapabilities(java.util.Collection<java.lang.String> capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities - The capabilities allowed in the stack.public java.util.List<Output> getOutputs()
public void setOutputs(java.util.Collection<Output> outputs)
outputs - A list of output structures.public Stack withOutputs(Output... outputs)
Returns a reference to this object so that method calls can be chained together.
outputs - A list of output structures.public Stack withOutputs(java.util.Collection<Output> outputs)
Returns a reference to this object so that method calls can be chained together.
outputs - A list of output structures.public java.util.List<Tag> getTags()
Tags that specify cost allocation information
for the stack.Tags that specify cost allocation information
for the stack.public void setTags(java.util.Collection<Tag> tags)
Tags that specify cost allocation information
for the stack.tags - A list of Tags that specify cost allocation information
for the stack.public Stack withTags(Tag... tags)
Tags that specify cost allocation information
for the stack.
Returns a reference to this object so that method calls can be chained together.
tags - A list of Tags that specify cost allocation information
for the stack.public Stack withTags(java.util.Collection<Tag> tags)
Tags that specify cost allocation information
for the stack.
Returns a reference to this object so that method calls can be chained together.
tags - A list of Tags that specify cost allocation information
for the stack.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object