Struct aws_sdk_securityhub::types::builders::AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
source · #[non_exhaustive]pub struct AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcsClusterDefaultCapacityProviderStrategyDetails
.
Implementations§
source§impl AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
sourcepub fn base(self, input: i32) -> Self
pub fn base(self, input: i32) -> Self
The minimum number of tasks to run on the specified capacity provider.
sourcepub fn set_base(self, input: Option<i32>) -> Self
pub fn set_base(self, input: Option<i32>) -> Self
The minimum number of tasks to run on the specified capacity provider.
sourcepub fn get_base(&self) -> &Option<i32>
pub fn get_base(&self) -> &Option<i32>
The minimum number of tasks to run on the specified capacity provider.
sourcepub fn capacity_provider(self, input: impl Into<String>) -> Self
pub fn capacity_provider(self, input: impl Into<String>) -> Self
The name of the capacity provider.
sourcepub fn set_capacity_provider(self, input: Option<String>) -> Self
pub fn set_capacity_provider(self, input: Option<String>) -> Self
The name of the capacity provider.
sourcepub fn get_capacity_provider(&self) -> &Option<String>
pub fn get_capacity_provider(&self) -> &Option<String>
The name of the capacity provider.
sourcepub fn weight(self, input: i32) -> Self
pub fn weight(self, input: i32) -> Self
The relative percentage of the total number of tasks launched that should use the capacity provider.
sourcepub fn set_weight(self, input: Option<i32>) -> Self
pub fn set_weight(self, input: Option<i32>) -> Self
The relative percentage of the total number of tasks launched that should use the capacity provider.
sourcepub fn get_weight(&self) -> &Option<i32>
pub fn get_weight(&self) -> &Option<i32>
The relative percentage of the total number of tasks launched that should use the capacity provider.
sourcepub fn build(self) -> AwsEcsClusterDefaultCapacityProviderStrategyDetails
pub fn build(self) -> AwsEcsClusterDefaultCapacityProviderStrategyDetails
Consumes the builder and constructs a AwsEcsClusterDefaultCapacityProviderStrategyDetails
.
Trait Implementations§
source§impl Clone for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl Clone for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
source§fn clone(&self) -> AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
fn clone(&self) -> AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl Default for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
source§fn default() -> AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
fn default() -> AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
source§impl PartialEq for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl PartialEq for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
source§fn eq(
&self,
other: &AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.