@Generated(value="software.amazon.awssdk:codegen") public final class UpdateProvisioningPreferences extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateProvisioningPreferences.Builder,UpdateProvisioningPreferences>
The user-defined preferences that will be applied when updating a provisioned product. Not all preferences are applicable to all provisioned product types.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateProvisioningPreferences.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateProvisioningPreferences.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasStackSetAccounts()
Returns true if the StackSetAccounts property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasStackSetRegions()
Returns true if the StackSetRegions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateProvisioningPreferences.Builder> |
serializableBuilderClass() |
List<String> |
stackSetAccounts()
One or more AWS accounts that will have access to the provisioned product.
|
Integer |
stackSetFailureToleranceCount()
The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the
operation in that region.
|
Integer |
stackSetFailureTolerancePercentage()
The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops
the operation in that region.
|
Integer |
stackSetMaxConcurrencyCount()
The maximum number of accounts in which to perform this operation at one time.
|
Integer |
stackSetMaxConcurrencyPercentage()
The maximum percentage of accounts in which to perform this operation at one time.
|
StackSetOperationType |
stackSetOperationType()
Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the
provisioned product.
|
String |
stackSetOperationTypeAsString()
Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the
provisioned product.
|
List<String> |
stackSetRegions()
One or more AWS Regions where the provisioned product will be available.
|
UpdateProvisioningPreferences.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasStackSetAccounts()
public final List<String> stackSetAccounts()
One or more AWS accounts that will have access to the provisioned product.
Applicable only to a CFN_STACKSET provisioned product type.
The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get
the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all accounts from the STACKSET constraint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStackSetAccounts() to see if a value was sent in this field.
Applicable only to a CFN_STACKSET provisioned product type.
The AWS accounts specified should be within the list of accounts in the STACKSET constraint.
To get the list of accounts in the STACKSET constraint, use the
DescribeProvisioningParameters operation.
If no values are specified, the default value is all accounts from the STACKSET constraint.
public final boolean hasStackSetRegions()
public final List<String> stackSetRegions()
One or more AWS Regions where the provisioned product will be available.
Applicable only to a CFN_STACKSET provisioned product type.
The specified regions should be within the list of regions from the STACKSET constraint. To get the
list of regions in the STACKSET constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all regions from the STACKSET constraint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStackSetRegions() to see if a value was sent in this field.
Applicable only to a CFN_STACKSET provisioned product type.
The specified regions should be within the list of regions from the STACKSET constraint. To
get the list of regions in the STACKSET constraint, use the
DescribeProvisioningParameters operation.
If no values are specified, the default value is all regions from the STACKSET constraint.
public final Integer stackSetFailureToleranceCount()
The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetFailureToleranceCount or
StackSetFailureTolerancePercentage, but not both.
The default value is 0 if no value is specified.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetFailureToleranceCount or
StackSetFailureTolerancePercentage, but not both.
The default value is 0 if no value is specified.
public final Integer stackSetFailureTolerancePercentage()
The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetFailureToleranceCount or
StackSetFailureTolerancePercentage, but not both.
When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetFailureToleranceCount or
StackSetFailureTolerancePercentage, but not both.
public final Integer stackSetMaxConcurrencyCount()
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of
StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the
StackSetFailureToleranceCount.
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.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetMaxConcurrentCount or
StackSetMaxConcurrentPercentage, but not both.
StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most
one more than the StackSetFailureToleranceCount.
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.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetMaxConcurrentCount or
StackSetMaxConcurrentPercentage, but not both.
public final Integer stackSetMaxConcurrencyPercentage()
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 Service Catalog rounds down to the
next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS
Service Catalog sets the number as 1 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.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetMaxConcurrentCount or
StackSetMaxConcurrentPercentage, but not both.
When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds
down to the next whole number. This is true except in cases where rounding down would result is zero. In
this case, AWS Service Catalog sets the number as 1 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.
Applicable only to a CFN_STACKSET provisioned product type.
Conditional: You must specify either StackSetMaxConcurrentCount or
StackSetMaxConcurrentPercentage, but not both.
public final StackSetOperationType stackSetOperationType()
Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the
provisioned product. The default value is UPDATE if nothing is specified.
Applicable only to a CFN_STACKSET provisioned product type.
Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored.
Updates the stack set represented by the provisioned product and also its stack instances.
Deletes a stack instance in the stack set represented by the provisioned product.
If the service returns an enum value that is not available in the current SDK version,
stackSetOperationType will return StackSetOperationType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from stackSetOperationTypeAsString().
UPDATE if nothing is specified.
Applicable only to a CFN_STACKSET provisioned product type.
Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored.
Updates the stack set represented by the provisioned product and also its stack instances.
Deletes a stack instance in the stack set represented by the provisioned product.
StackSetOperationTypepublic final String stackSetOperationTypeAsString()
Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the
provisioned product. The default value is UPDATE if nothing is specified.
Applicable only to a CFN_STACKSET provisioned product type.
Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored.
Updates the stack set represented by the provisioned product and also its stack instances.
Deletes a stack instance in the stack set represented by the provisioned product.
If the service returns an enum value that is not available in the current SDK version,
stackSetOperationType will return StackSetOperationType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from stackSetOperationTypeAsString().
UPDATE if nothing is specified.
Applicable only to a CFN_STACKSET provisioned product type.
Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored.
Updates the stack set represented by the provisioned product and also its stack instances.
Deletes a stack instance in the stack set represented by the provisioned product.
StackSetOperationTypepublic UpdateProvisioningPreferences.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateProvisioningPreferences.Builder,UpdateProvisioningPreferences>public static UpdateProvisioningPreferences.Builder builder()
public static Class<? extends UpdateProvisioningPreferences.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.