@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackSetOperationPreferences extends Object implements Serializable, Cloneable
The user-specified preferences for how AWS CloudFormation performs a stack set operation.
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.
Constructor and Description |
---|
StackSetOperationPreferences() |
Modifier and Type | Method and Description |
---|---|
StackSetOperationPreferences |
clone() |
boolean |
equals(Object obj) |
Integer |
getFailureToleranceCount()
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the
operation in that region.
|
Integer |
getFailureTolerancePercentage()
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops
the operation in that region.
|
Integer |
getMaxConcurrentCount()
The maximum number of accounts in which to perform this operation at one time.
|
Integer |
getMaxConcurrentPercentage()
The maximum percentage of accounts in which to perform this operation at one time.
|
List<String> |
getRegionOrder()
The order of the regions in where you want to perform the stack operation.
|
int |
hashCode() |
void |
setFailureToleranceCount(Integer failureToleranceCount)
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the
operation in that region.
|
void |
setFailureTolerancePercentage(Integer failureTolerancePercentage)
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops
the operation in that region.
|
void |
setMaxConcurrentCount(Integer maxConcurrentCount)
The maximum number of accounts in which to perform this operation at one time.
|
void |
setMaxConcurrentPercentage(Integer maxConcurrentPercentage)
The maximum percentage of accounts in which to perform this operation at one time.
|
void |
setRegionOrder(Collection<String> regionOrder)
The order of the regions in where you want to perform the stack operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StackSetOperationPreferences |
withFailureToleranceCount(Integer failureToleranceCount)
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the
operation in that region.
|
StackSetOperationPreferences |
withFailureTolerancePercentage(Integer failureTolerancePercentage)
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops
the operation in that region.
|
StackSetOperationPreferences |
withMaxConcurrentCount(Integer maxConcurrentCount)
The maximum number of accounts in which to perform this operation at one time.
|
StackSetOperationPreferences |
withMaxConcurrentPercentage(Integer maxConcurrentPercentage)
The maximum percentage of accounts in which to perform this operation at one time.
|
StackSetOperationPreferences |
withRegionOrder(Collection<String> regionOrder)
The order of the regions in where you want to perform the stack operation.
|
StackSetOperationPreferences |
withRegionOrder(String... regionOrder)
The order of the regions in where you want to perform the stack operation.
|
public List<String> getRegionOrder()
The order of the regions in where you want to perform the stack operation.
public void setRegionOrder(Collection<String> regionOrder)
The order of the regions in where you want to perform the stack operation.
regionOrder
- The order of the regions in where you want to perform the stack operation.public StackSetOperationPreferences withRegionOrder(String... regionOrder)
The order of the regions in where you want to perform the stack operation.
NOTE: This method appends the values to the existing list (if any). Use
setRegionOrder(java.util.Collection)
or withRegionOrder(java.util.Collection)
if you want to
override the existing values.
regionOrder
- The order of the regions in where you want to perform the stack operation.public StackSetOperationPreferences withRegionOrder(Collection<String> regionOrder)
The order of the regions in where you want to perform the stack operation.
regionOrder
- The order of the regions in where you want to perform the stack operation.public void setFailureToleranceCount(Integer failureToleranceCount)
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
failureToleranceCount
- The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the
operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the
operation in any subsequent regions.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
public Integer getFailureToleranceCount()
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
public StackSetOperationPreferences withFailureToleranceCount(Integer failureToleranceCount)
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
failureToleranceCount
- The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the
operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the
operation in any subsequent regions.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
public void setFailureTolerancePercentage(Integer failureTolerancePercentage)
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
, but not both.
failureTolerancePercentage
- The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation
stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't
attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
, but not both.
public Integer getFailureTolerancePercentage()
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
, but not both.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
, but not both.
public StackSetOperationPreferences withFailureTolerancePercentage(Integer failureTolerancePercentage)
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
, but not both.
failureTolerancePercentage
- The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation
stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't
attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
, but not both.
public void setMaxConcurrentCount(Integer maxConcurrentCount)
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of
FailureToleranceCount
—MaxConcurrentCount
is at most one more than the
FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but
not both.
maxConcurrentCount
- The maximum number of accounts in which to perform this operation at one time. This is dependent on the
value of FailureToleranceCount
—MaxConcurrentCount
is at most one more than the
FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or
MaxConcurrentPercentage
, but not both.
public Integer getMaxConcurrentCount()
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of
FailureToleranceCount
—MaxConcurrentCount
is at most one more than the
FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but
not both.
FailureToleranceCount
—MaxConcurrentCount
is at most one more than the
FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or
MaxConcurrentPercentage
, but not both.
public StackSetOperationPreferences withMaxConcurrentCount(Integer maxConcurrentCount)
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of
FailureToleranceCount
—MaxConcurrentCount
is at most one more than the
FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but
not both.
maxConcurrentCount
- The maximum number of accounts in which to perform this operation at one time. This is dependent on the
value of FailureToleranceCount
—MaxConcurrentCount
is at most one more than the
FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or
MaxConcurrentPercentage
, but not both.
public void setMaxConcurrentPercentage(Integer maxConcurrentPercentage)
The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but
not both.
maxConcurrentPercentage
- The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or
MaxConcurrentPercentage
, but not both.
public Integer getMaxConcurrentPercentage()
The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but
not both.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or
MaxConcurrentPercentage
, but not both.
public StackSetOperationPreferences withMaxConcurrentPercentage(Integer maxConcurrentPercentage)
The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but
not both.
maxConcurrentPercentage
- The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or
MaxConcurrentPercentage
, but not both.
public String toString()
toString
in class Object
Object.toString()
public StackSetOperationPreferences clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.