|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudformation.model.Stack
public class Stack
The Stack data type.
Constructor Summary | |
---|---|
Stack()
|
Method Summary | |
---|---|
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: |
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.lang.Integer |
getTimeoutInMinutes()
The amount of time within which stack creation should complete. |
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)
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: |
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(java.lang.String stackStatus)
Current status of the stack. |
void |
setStackStatusReason(java.lang.String stackStatusReason)
Success/failure message associated with the stack status. |
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: |
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(java.lang.String stackStatus)
Current status of the stack. |
Stack |
withStackStatusReason(java.lang.String stackStatusReason)
Success/failure message associated with the stack status. |
Stack |
withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)
The amount of time within which stack creation should complete. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Stack()
Method Detail |
---|
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.lang.String getStackStatus()
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE
StackStatus
public void setStackStatus(java.lang.String stackStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE
stackStatus
- Current status of the stack.StackStatus
public 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, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE
stackStatus
- Current status of the stack.
StackStatus
public 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 rollback
disableRollback
- 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.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |