Class UpdateProvisioningPreferences
- All Implemented Interfaces:
Serializable
,SdkPojo
,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the StackSetAccounts property.final boolean
For responses, this returns true if the service returned a value for the StackSetRegions property.static Class
<? extends UpdateProvisioningPreferences.Builder> One or more Amazon Web Services accounts that will have access to the provisioned product.final Integer
The number of accounts, per Region, for which this operation can fail before Service Catalog stops the operation in that Region.final Integer
The percentage of accounts, per Region, for which this stack operation can fail before Service Catalog stops the operation in that Region.final Integer
The maximum number of accounts in which to perform this operation at one time.final Integer
The maximum percentage of accounts in which to perform this operation at one time.final StackSetOperationType
Determines what action Service Catalog performs to a stack set or a stack instance represented by the provisioned product.final String
Determines what action Service Catalog performs to a stack set or a stack instance represented by the provisioned product.One or more Amazon Web Services Regions where the provisioned product will be available.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hasStackSetAccounts
public final boolean hasStackSetAccounts()For responses, this returns true if the service returned a value for the StackSetAccounts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
stackSetAccounts
One or more Amazon Web Services accounts that will have access to the provisioned product.
Applicable only to a
CFN_STACKSET
provisioned product type.The Amazon Web Services accounts specified should be within the list of accounts in the
STACKSET
constraint. To get the list of accounts in theSTACKSET
constraint, use theDescribeProvisioningParameters
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.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasStackSetAccounts()
method.- Returns:
- One or more Amazon Web Services accounts that will have access to the provisioned product.
Applicable only to a
CFN_STACKSET
provisioned product type.The Amazon Web Services accounts specified should be within the list of accounts in the
STACKSET
constraint. To get the list of accounts in theSTACKSET
constraint, use theDescribeProvisioningParameters
operation.If no values are specified, the default value is all accounts from the
STACKSET
constraint.
-
hasStackSetRegions
public final boolean hasStackSetRegions()For responses, this returns true if the service returned a value for the StackSetRegions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
stackSetRegions
One or more Amazon Web Services 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 theSTACKSET
constraint, use theDescribeProvisioningParameters
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.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasStackSetRegions()
method.- Returns:
- One or more Amazon Web Services 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 theSTACKSET
constraint, use theDescribeProvisioningParameters
operation.If no values are specified, the default value is all Regions from the
STACKSET
constraint.
-
stackSetFailureToleranceCount
The number of accounts, per Region, for which this operation can fail before Service Catalog stops the operation in that Region. If the operation is stopped in a Region, 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
orStackSetFailureTolerancePercentage
, but not both.The default value is
0
if no value is specified.- Returns:
- The number of accounts, per Region, for which this operation can fail before Service Catalog stops the
operation in that Region. If the operation is stopped in a Region, 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
orStackSetFailureTolerancePercentage
, but not both.The default value is
0
if no value is specified.
-
stackSetFailureTolerancePercentage
The percentage of accounts, per Region, for which this stack operation can fail before Service Catalog stops the operation in that Region. If the operation is stopped in a Region, Service Catalog doesn't attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, Service Catalog rounds down to the next whole number.
Applicable only to a
CFN_STACKSET
provisioned product type.Conditional: You must specify either
StackSetFailureToleranceCount
orStackSetFailureTolerancePercentage
, but not both.- Returns:
- The percentage of accounts, per Region, for which this stack operation can fail before Service Catalog
stops the operation in that Region. If the operation is stopped in a Region, Service Catalog doesn't
attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, Service Catalog rounds down to the next whole number.
Applicable only to a
CFN_STACKSET
provisioned product type.Conditional: You must specify either
StackSetFailureToleranceCount
orStackSetFailureTolerancePercentage
, but not both.
-
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 theStackSetFailureToleranceCount
.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
orStackSetMaxConcurrentPercentage
, but not both.- Returns:
- 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 theStackSetFailureToleranceCount
.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
orStackSetMaxConcurrentPercentage
, but not both.
-
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, 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, 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
orStackSetMaxConcurrentPercentage
, but not both.- Returns:
- 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, 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, 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
orStackSetMaxConcurrentPercentage
, but not both.
-
stackSetOperationType
Determines what action 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.- CREATE
-
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.
- UPDATE
-
Updates the stack set represented by the provisioned product and also its stack instances.
- DELETE
-
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 returnStackSetOperationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstackSetOperationTypeAsString()
.- Returns:
- Determines what action 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.- CREATE
-
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.
- UPDATE
-
Updates the stack set represented by the provisioned product and also its stack instances.
- DELETE
-
Deletes a stack instance in the stack set represented by the provisioned product.
- See Also:
-
stackSetOperationTypeAsString
Determines what action 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.- CREATE
-
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.
- UPDATE
-
Updates the stack set represented by the provisioned product and also its stack instances.
- DELETE
-
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 returnStackSetOperationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstackSetOperationTypeAsString()
.- Returns:
- Determines what action 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.- CREATE
-
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.
- UPDATE
-
Updates the stack set represented by the provisioned product and also its stack instances.
- DELETE
-
Deletes a stack instance in the stack set represented by the provisioned product.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateProvisioningPreferences.Builder,
UpdateProvisioningPreferences> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-