@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackSetOperation extends Object implements Serializable, Cloneable
The structure that contains information about a stack set operation.
Constructor and Description |
---|
StackSetOperation() |
Modifier and Type | Method and Description |
---|---|
StackSetOperation |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The type of stack set operation:
CREATE , UPDATE , or DELETE . |
Date |
getCreationTimestamp()
The time at which the operation was initiated.
|
Date |
getEndTimestamp()
The time at which the stack set operation ended, across all accounts and regions specified.
|
String |
getOperationId()
The unique ID of a stack set operation.
|
StackSetOperationPreferences |
getOperationPreferences()
The preferences for how AWS CloudFormation performs this stack set operation.
|
Boolean |
getRetainStacks()
For stack set operations of action type
DELETE , specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. |
String |
getStackSetId()
The ID of the stack set.
|
String |
getStatus()
The status of the operation.
|
int |
hashCode() |
Boolean |
isRetainStacks()
For stack set operations of action type
DELETE , specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. |
void |
setAction(StackSetOperationAction action)
The type of stack set operation:
CREATE , UPDATE , or DELETE . |
void |
setAction(String action)
The type of stack set operation:
CREATE , UPDATE , or DELETE . |
void |
setCreationTimestamp(Date creationTimestamp)
The time at which the operation was initiated.
|
void |
setEndTimestamp(Date endTimestamp)
The time at which the stack set operation ended, across all accounts and regions specified.
|
void |
setOperationId(String operationId)
The unique ID of a stack set operation.
|
void |
setOperationPreferences(StackSetOperationPreferences operationPreferences)
The preferences for how AWS CloudFormation performs this stack set operation.
|
void |
setRetainStacks(Boolean retainStacks)
For stack set operations of action type
DELETE , specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. |
void |
setStackSetId(String stackSetId)
The ID of the stack set.
|
void |
setStatus(StackSetOperationStatus status)
The status of the operation.
|
void |
setStatus(String status)
The status of the operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StackSetOperation |
withAction(StackSetOperationAction action)
The type of stack set operation:
CREATE , UPDATE , or DELETE . |
StackSetOperation |
withAction(String action)
The type of stack set operation:
CREATE , UPDATE , or DELETE . |
StackSetOperation |
withCreationTimestamp(Date creationTimestamp)
The time at which the operation was initiated.
|
StackSetOperation |
withEndTimestamp(Date endTimestamp)
The time at which the stack set operation ended, across all accounts and regions specified.
|
StackSetOperation |
withOperationId(String operationId)
The unique ID of a stack set operation.
|
StackSetOperation |
withOperationPreferences(StackSetOperationPreferences operationPreferences)
The preferences for how AWS CloudFormation performs this stack set operation.
|
StackSetOperation |
withRetainStacks(Boolean retainStacks)
For stack set operations of action type
DELETE , specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. |
StackSetOperation |
withStackSetId(String stackSetId)
The ID of the stack set.
|
StackSetOperation |
withStatus(StackSetOperationStatus status)
The status of the operation.
|
StackSetOperation |
withStatus(String status)
The status of the operation.
|
public void setOperationId(String operationId)
The unique ID of a stack set operation.
operationId
- The unique ID of a stack set operation.public String getOperationId()
The unique ID of a stack set operation.
public StackSetOperation withOperationId(String operationId)
The unique ID of a stack set operation.
operationId
- The unique ID of a stack set operation.public void setStackSetId(String stackSetId)
The ID of the stack set.
stackSetId
- The ID of the stack set.public String getStackSetId()
The ID of the stack set.
public StackSetOperation withStackSetId(String stackSetId)
The ID of the stack set.
stackSetId
- The ID of the stack set.public void setAction(String action)
The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create and
delete operations affect only the specified stack set instances that are associated with the specified stack set.
Update operations affect both the stack set itself, as well as all associated stack set instances.
action
- The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create
and delete operations affect only the specified stack set instances that are associated with the specified
stack set. Update operations affect both the stack set itself, as well as all associated stack set
instances.StackSetOperationAction
public String getAction()
The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create and
delete operations affect only the specified stack set instances that are associated with the specified stack set.
Update operations affect both the stack set itself, as well as all associated stack set instances.
CREATE
, UPDATE
, or DELETE
. Create
and delete operations affect only the specified stack set instances that are associated with the
specified stack set. Update operations affect both the stack set itself, as well as all associated
stack set instances.StackSetOperationAction
public StackSetOperation withAction(String action)
The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create and
delete operations affect only the specified stack set instances that are associated with the specified stack set.
Update operations affect both the stack set itself, as well as all associated stack set instances.
action
- The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create
and delete operations affect only the specified stack set instances that are associated with the specified
stack set. Update operations affect both the stack set itself, as well as all associated stack set
instances.StackSetOperationAction
public void setAction(StackSetOperationAction action)
The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create and
delete operations affect only the specified stack set instances that are associated with the specified stack set.
Update operations affect both the stack set itself, as well as all associated stack set instances.
action
- The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create
and delete operations affect only the specified stack set instances that are associated with the specified
stack set. Update operations affect both the stack set itself, as well as all associated stack set
instances.StackSetOperationAction
public StackSetOperation withAction(StackSetOperationAction action)
The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create and
delete operations affect only the specified stack set instances that are associated with the specified stack set.
Update operations affect both the stack set itself, as well as all associated stack set instances.
action
- The type of stack set operation: CREATE
, UPDATE
, or DELETE
. Create
and delete operations affect only the specified stack set instances that are associated with the specified
stack set. Update operations affect both the stack set itself, as well as all associated stack set
instances.StackSetOperationAction
public void setStatus(String status)
The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that
you've set for an operation is applied for each region during stack create and update operations. If the number
of failed stacks within a region exceeds the failure tolerance, the status of the operation in the region is set
to FAILED
. This in turn sets the status of the operation as a whole to FAILED
, and AWS
CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding
the failure tolerance for the operation.
status
- The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value
that you've set for an operation is applied for each region during stack create and update operations. If
the number of failed stacks within a region exceeds the failure tolerance, the status of the operation in
the region is set to FAILED
. This in turn sets the status of the operation as a whole to
FAILED
, and AWS CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without
exceeding the failure tolerance for the operation.
StackSetOperationStatus
public String getStatus()
The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that
you've set for an operation is applied for each region during stack create and update operations. If the number
of failed stacks within a region exceeds the failure tolerance, the status of the operation in the region is set
to FAILED
. This in turn sets the status of the operation as a whole to FAILED
, and AWS
CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding
the failure tolerance for the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value
that you've set for an operation is applied for each region during stack create and update operations. If
the number of failed stacks within a region exceeds the failure tolerance, the status of the operation in
the region is set to FAILED
. This in turn sets the status of the operation as a whole to
FAILED
, and AWS CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without
exceeding the failure tolerance for the operation.
StackSetOperationStatus
public StackSetOperation withStatus(String status)
The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that
you've set for an operation is applied for each region during stack create and update operations. If the number
of failed stacks within a region exceeds the failure tolerance, the status of the operation in the region is set
to FAILED
. This in turn sets the status of the operation as a whole to FAILED
, and AWS
CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding
the failure tolerance for the operation.
status
- The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value
that you've set for an operation is applied for each region during stack create and update operations. If
the number of failed stacks within a region exceeds the failure tolerance, the status of the operation in
the region is set to FAILED
. This in turn sets the status of the operation as a whole to
FAILED
, and AWS CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without
exceeding the failure tolerance for the operation.
StackSetOperationStatus
public void setStatus(StackSetOperationStatus status)
The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that
you've set for an operation is applied for each region during stack create and update operations. If the number
of failed stacks within a region exceeds the failure tolerance, the status of the operation in the region is set
to FAILED
. This in turn sets the status of the operation as a whole to FAILED
, and AWS
CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding
the failure tolerance for the operation.
status
- The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value
that you've set for an operation is applied for each region during stack create and update operations. If
the number of failed stacks within a region exceeds the failure tolerance, the status of the operation in
the region is set to FAILED
. This in turn sets the status of the operation as a whole to
FAILED
, and AWS CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without
exceeding the failure tolerance for the operation.
StackSetOperationStatus
public StackSetOperation withStatus(StackSetOperationStatus status)
The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that
you've set for an operation is applied for each region during stack create and update operations. If the number
of failed stacks within a region exceeds the failure tolerance, the status of the operation in the region is set
to FAILED
. This in turn sets the status of the operation as a whole to FAILED
, and AWS
CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding
the failure tolerance for the operation.
status
- The status of the operation.
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value
that you've set for an operation is applied for each region during stack create and update operations. If
the number of failed stacks within a region exceeds the failure tolerance, the status of the operation in
the region is set to FAILED
. This in turn sets the status of the operation as a whole to
FAILED
, and AWS CloudFormation cancels the operation in any remaining regions.
RUNNING
: The operation is currently being performed.
STOPPED
: The user has cancelled the operation.
STOPPING
: The operation is in the process of stopping, at user request.
SUCCEEDED
: The operation completed creating or updating all the specified stacks without
exceeding the failure tolerance for the operation.
StackSetOperationStatus
public void setOperationPreferences(StackSetOperationPreferences operationPreferences)
The preferences for how AWS CloudFormation performs this stack set operation.
operationPreferences
- The preferences for how AWS CloudFormation performs this stack set operation.public StackSetOperationPreferences getOperationPreferences()
The preferences for how AWS CloudFormation performs this stack set operation.
public StackSetOperation withOperationPreferences(StackSetOperationPreferences operationPreferences)
The preferences for how AWS CloudFormation performs this stack set operation.
operationPreferences
- The preferences for how AWS CloudFormation performs this stack set operation.public void setRetainStacks(Boolean retainStacks)
For stack set operations of action type DELETE
, specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an
existing, saved stack to a new stack set.
retainStacks
- For stack set operations of action type DELETE
, specifies whether to remove the stack
instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained
stack, or add an existing, saved stack to a new stack set.public Boolean getRetainStacks()
For stack set operations of action type DELETE
, specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an
existing, saved stack to a new stack set.
DELETE
, specifies whether to remove the stack
instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained
stack, or add an existing, saved stack to a new stack set.public StackSetOperation withRetainStacks(Boolean retainStacks)
For stack set operations of action type DELETE
, specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an
existing, saved stack to a new stack set.
retainStacks
- For stack set operations of action type DELETE
, specifies whether to remove the stack
instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained
stack, or add an existing, saved stack to a new stack set.public Boolean isRetainStacks()
For stack set operations of action type DELETE
, specifies whether to remove the stack instances from
the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an
existing, saved stack to a new stack set.
DELETE
, specifies whether to remove the stack
instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained
stack, or add an existing, saved stack to a new stack set.public void setCreationTimestamp(Date creationTimestamp)
The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because AWS CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested regions, before actually creating the first stacks.
creationTimestamp
- The time at which the operation was initiated. Note that the creation times for the stack set operation
might differ from the creation time of the individual stacks themselves. This is because AWS
CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the
requested regions, before actually creating the first stacks.public Date getCreationTimestamp()
The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because AWS CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested regions, before actually creating the first stacks.
public StackSetOperation withCreationTimestamp(Date creationTimestamp)
The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because AWS CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested regions, before actually creating the first stacks.
creationTimestamp
- The time at which the operation was initiated. Note that the creation times for the stack set operation
might differ from the creation time of the individual stacks themselves. This is because AWS
CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the
requested regions, before actually creating the first stacks.public void setEndTimestamp(Date endTimestamp)
The time at which the stack set operation ended, across all accounts and regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or region.
endTimestamp
- The time at which the stack set operation ended, across all accounts and regions specified. Note that this
doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account
or region.public Date getEndTimestamp()
The time at which the stack set operation ended, across all accounts and regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or region.
public StackSetOperation withEndTimestamp(Date endTimestamp)
The time at which the stack set operation ended, across all accounts and regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or region.
endTimestamp
- The time at which the stack set operation ended, across all accounts and regions specified. Note that this
doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account
or region.public String toString()
toString
in class Object
Object.toString()
public StackSetOperation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.