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