Class ProvisioningPreferences
- java.lang.Object
-
- software.amazon.awssdk.services.servicecatalog.model.ProvisioningPreferences
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProvisioningPreferences.Builder,ProvisioningPreferences>
@Generated("software.amazon.awssdk:codegen") public final class ProvisioningPreferences extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProvisioningPreferences.Builder,ProvisioningPreferences>
The user-defined preferences that will be applied when updating a provisioned product. Not all preferences are applicable to all provisioned product type
One or more Amazon Web Services accounts that will have access to the provisioned product.
Applicable only to a
CFN_STACKSETprovisioned product type.The Amazon Web Services accounts specified should be within the list of accounts in the
STACKSETconstraint. To get the list of accounts in theSTACKSETconstraint, use theDescribeProvisioningParametersoperation.If no values are specified, the default value is all accounts from the
STACKSETconstraint.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProvisioningPreferences.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvisioningPreferences.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasStackSetAccounts()For responses, this returns true if the service returned a value for the StackSetAccounts property.booleanhasStackSetRegions()For responses, this returns true if the service returned a value for the StackSetRegions property.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProvisioningPreferences.Builder>serializableBuilderClass()List<String>stackSetAccounts()One or more Amazon Web Services accounts where the provisioned product will be available.IntegerstackSetFailureToleranceCount()The number of accounts, per Region, for which this operation can fail before Service Catalog stops the operation in that Region.IntegerstackSetFailureTolerancePercentage()The percentage of accounts, per Region, for which this stack operation can fail before Service Catalog stops the operation in that Region.IntegerstackSetMaxConcurrencyCount()The maximum number of accounts in which to perform this operation at one time.IntegerstackSetMaxConcurrencyPercentage()The maximum percentage of accounts in which to perform this operation at one time.List<String>stackSetRegions()One or more Amazon Web Services Regions where the provisioned product will be available.ProvisioningPreferences.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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
public final List<String> stackSetAccounts()
One or more Amazon Web Services accounts where the provisioned product will be available.
Applicable only to a
CFN_STACKSETprovisioned product type.The specified accounts should be within the list of accounts from the
STACKSETconstraint. To get the list of accounts in theSTACKSETconstraint, use theDescribeProvisioningParametersoperation.If no values are specified, the default value is all acounts from the
STACKSETconstraint.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 where the provisioned product will be available.
Applicable only to a
CFN_STACKSETprovisioned product type.The specified accounts should be within the list of accounts from the
STACKSETconstraint. To get the list of accounts in theSTACKSETconstraint, use theDescribeProvisioningParametersoperation.If no values are specified, the default value is all acounts from the
STACKSETconstraint.
-
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
public final List<String> stackSetRegions()
One or more Amazon Web Services Regions where the provisioned product will be available.
Applicable only to a
CFN_STACKSETprovisioned product type.The specified Regions should be within the list of Regions from the
STACKSETconstraint. To get the list of Regions in theSTACKSETconstraint, use theDescribeProvisioningParametersoperation.If no values are specified, the default value is all Regions from the
STACKSETconstraint.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_STACKSETprovisioned product type.The specified Regions should be within the list of Regions from the
STACKSETconstraint. To get the list of Regions in theSTACKSETconstraint, use theDescribeProvisioningParametersoperation.If no values are specified, the default value is all Regions from the
STACKSETconstraint.
-
stackSetFailureToleranceCount
public final Integer 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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetFailureToleranceCountorStackSetFailureTolerancePercentage, but not both.The default value is
0if 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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetFailureToleranceCountorStackSetFailureTolerancePercentage, but not both.The default value is
0if no value is specified.
-
stackSetFailureTolerancePercentage
public final Integer 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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetFailureToleranceCountorStackSetFailureTolerancePercentage, 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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetFailureToleranceCountorStackSetFailureTolerancePercentage, but not both.
-
stackSetMaxConcurrencyCount
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.StackSetMaxConcurrentCountis 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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetMaxConcurrentCountorStackSetMaxConcurrentPercentage, 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.StackSetMaxConcurrentCountis 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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetMaxConcurrentCountorStackSetMaxConcurrentPercentage, but not both.
-
stackSetMaxConcurrencyPercentage
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, 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
1instead.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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetMaxConcurrentCountorStackSetMaxConcurrentPercentage, 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
1instead.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_STACKSETprovisioned product type.Conditional: You must specify either
StackSetMaxConcurrentCountorStackSetMaxConcurrentPercentage, but not both.
-
toBuilder
public ProvisioningPreferences.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProvisioningPreferences.Builder,ProvisioningPreferences>
-
builder
public static ProvisioningPreferences.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProvisioningPreferences.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-