#[non_exhaustive]pub struct ProvisioningPreferencesBuilder { /* private fields */ }
Expand description
A builder for ProvisioningPreferences
.
Implementations§
source§impl ProvisioningPreferencesBuilder
impl ProvisioningPreferencesBuilder
sourcepub fn stack_set_accounts(self, input: impl Into<String>) -> Self
pub fn stack_set_accounts(self, input: impl Into<String>) -> Self
Appends an item to stack_set_accounts
.
To override the contents of this collection use set_stack_set_accounts
.
One or more Amazon Web Services accounts where the provisioned product will be available.
Applicable only to a CFN_STACKSET
provisioned product type.
The specified accounts should be within the list of accounts from 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 acounts from the STACKSET
constraint.
sourcepub fn set_stack_set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_stack_set_accounts(self, input: Option<Vec<String>>) -> Self
One or more Amazon Web Services accounts where the provisioned product will be available.
Applicable only to a CFN_STACKSET
provisioned product type.
The specified accounts should be within the list of accounts from 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 acounts from the STACKSET
constraint.
sourcepub fn get_stack_set_accounts(&self) -> &Option<Vec<String>>
pub fn get_stack_set_accounts(&self) -> &Option<Vec<String>>
One or more Amazon Web Services accounts where the provisioned product will be available.
Applicable only to a CFN_STACKSET
provisioned product type.
The specified accounts should be within the list of accounts from 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 acounts from the STACKSET
constraint.
sourcepub fn stack_set_regions(self, input: impl Into<String>) -> Self
pub fn stack_set_regions(self, input: impl Into<String>) -> Self
Appends an item to stack_set_regions
.
To override the contents of this collection use set_stack_set_regions
.
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 the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all Regions from the STACKSET
constraint.
sourcepub fn set_stack_set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_stack_set_regions(self, input: Option<Vec<String>>) -> Self
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 the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all Regions from the STACKSET
constraint.
sourcepub fn get_stack_set_regions(&self) -> &Option<Vec<String>>
pub fn get_stack_set_regions(&self) -> &Option<Vec<String>>
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 the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all Regions from the STACKSET
constraint.
sourcepub fn stack_set_failure_tolerance_count(self, input: i32) -> Self
pub fn stack_set_failure_tolerance_count(self, input: i32) -> Self
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
or StackSetFailureTolerancePercentage
, but not both.
The default value is 0
if no value is specified.
sourcepub fn set_stack_set_failure_tolerance_count(self, input: Option<i32>) -> Self
pub fn set_stack_set_failure_tolerance_count(self, input: Option<i32>) -> Self
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
or StackSetFailureTolerancePercentage
, but not both.
The default value is 0
if no value is specified.
sourcepub fn get_stack_set_failure_tolerance_count(&self) -> &Option<i32>
pub fn get_stack_set_failure_tolerance_count(&self) -> &Option<i32>
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
or StackSetFailureTolerancePercentage
, but not both.
The default value is 0
if no value is specified.
sourcepub fn stack_set_failure_tolerance_percentage(self, input: i32) -> Self
pub fn stack_set_failure_tolerance_percentage(self, input: i32) -> Self
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
or StackSetFailureTolerancePercentage
, but not both.
sourcepub fn set_stack_set_failure_tolerance_percentage(
self,
input: Option<i32>
) -> Self
pub fn set_stack_set_failure_tolerance_percentage( self, input: Option<i32> ) -> Self
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
or StackSetFailureTolerancePercentage
, but not both.
sourcepub fn get_stack_set_failure_tolerance_percentage(&self) -> &Option<i32>
pub fn get_stack_set_failure_tolerance_percentage(&self) -> &Option<i32>
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
or StackSetFailureTolerancePercentage
, but not both.
sourcepub fn stack_set_max_concurrency_count(self, input: i32) -> Self
pub fn stack_set_max_concurrency_count(self, input: i32) -> Self
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.
sourcepub fn set_stack_set_max_concurrency_count(self, input: Option<i32>) -> Self
pub fn set_stack_set_max_concurrency_count(self, input: Option<i32>) -> Self
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.
sourcepub fn get_stack_set_max_concurrency_count(&self) -> &Option<i32>
pub fn get_stack_set_max_concurrency_count(&self) -> &Option<i32>
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.
sourcepub fn stack_set_max_concurrency_percentage(self, input: i32) -> Self
pub fn stack_set_max_concurrency_percentage(self, input: i32) -> Self
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
or StackSetMaxConcurrentPercentage
, but not both.
sourcepub fn set_stack_set_max_concurrency_percentage(
self,
input: Option<i32>
) -> Self
pub fn set_stack_set_max_concurrency_percentage( self, input: Option<i32> ) -> Self
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
or StackSetMaxConcurrentPercentage
, but not both.
sourcepub fn get_stack_set_max_concurrency_percentage(&self) -> &Option<i32>
pub fn get_stack_set_max_concurrency_percentage(&self) -> &Option<i32>
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
or StackSetMaxConcurrentPercentage
, but not both.
sourcepub fn build(self) -> ProvisioningPreferences
pub fn build(self) -> ProvisioningPreferences
Consumes the builder and constructs a ProvisioningPreferences
.
Trait Implementations§
source§impl Clone for ProvisioningPreferencesBuilder
impl Clone for ProvisioningPreferencesBuilder
source§fn clone(&self) -> ProvisioningPreferencesBuilder
fn clone(&self) -> ProvisioningPreferencesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProvisioningPreferencesBuilder
impl Default for ProvisioningPreferencesBuilder
source§fn default() -> ProvisioningPreferencesBuilder
fn default() -> ProvisioningPreferencesBuilder
source§impl PartialEq for ProvisioningPreferencesBuilder
impl PartialEq for ProvisioningPreferencesBuilder
source§fn eq(&self, other: &ProvisioningPreferencesBuilder) -> bool
fn eq(&self, other: &ProvisioningPreferencesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisioningPreferencesBuilder
Auto Trait Implementations§
impl Freeze for ProvisioningPreferencesBuilder
impl RefUnwindSafe for ProvisioningPreferencesBuilder
impl Send for ProvisioningPreferencesBuilder
impl Sync for ProvisioningPreferencesBuilder
impl Unpin for ProvisioningPreferencesBuilder
impl UnwindSafe for ProvisioningPreferencesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more