@Generated(value="software.amazon.awssdk:codegen") public final class StackSetOperationPreferences extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackSetOperationPreferences.Builder,StackSetOperationPreferences>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
StackSetOperationPreferences.Builder |
Modifier and Type | Method and Description |
---|---|
static StackSetOperationPreferences.Builder |
builder() |
boolean |
equals(Object obj) |
Integer |
failureToleranceCount()
The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the
operation in that region.
|
Integer |
failureTolerancePercentage()
The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops
the operation in that region.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxConcurrentCount()
The maximum number of accounts in which to perform this operation at one time.
|
Integer |
maxConcurrentPercentage()
The maximum percentage of accounts in which to perform this operation at one time.
|
List<String> |
regionOrder()
The order of the regions in where you want to perform the stack operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StackSetOperationPreferences.Builder> |
serializableBuilderClass() |
StackSetOperationPreferences.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<String> regionOrder()
The order of the regions in where you want to perform the stack operation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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).
Conditional: You must specify either FailureToleranceCount
or
FailureTolerancePercentage
(but not both).
public 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.
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 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.
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 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StackSetOperationPreferences.Builder,StackSetOperationPreferences>
public static StackSetOperationPreferences.Builder builder()
public static Class<? extends StackSetOperationPreferences.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.