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 ==.impl StructuralPartialEq for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl RefUnwindSafe for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl Send for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl Sync for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl Unpin for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
impl UnwindSafe for AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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