Struct aws_sdk_ecs::operation::update_capacity_provider::builders::UpdateCapacityProviderOutputBuilder
source · #[non_exhaustive]pub struct UpdateCapacityProviderOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateCapacityProviderOutput
.
Implementations§
source§impl UpdateCapacityProviderOutputBuilder
impl UpdateCapacityProviderOutputBuilder
sourcepub fn capacity_provider(self, input: CapacityProvider) -> Self
pub fn capacity_provider(self, input: CapacityProvider) -> Self
Details about the capacity provider.
sourcepub fn set_capacity_provider(self, input: Option<CapacityProvider>) -> Self
pub fn set_capacity_provider(self, input: Option<CapacityProvider>) -> Self
Details about the capacity provider.
sourcepub fn get_capacity_provider(&self) -> &Option<CapacityProvider>
pub fn get_capacity_provider(&self) -> &Option<CapacityProvider>
Details about the capacity provider.
sourcepub fn build(self) -> UpdateCapacityProviderOutput
pub fn build(self) -> UpdateCapacityProviderOutput
Consumes the builder and constructs a UpdateCapacityProviderOutput
.
Trait Implementations§
source§impl Clone for UpdateCapacityProviderOutputBuilder
impl Clone for UpdateCapacityProviderOutputBuilder
source§fn clone(&self) -> UpdateCapacityProviderOutputBuilder
fn clone(&self) -> UpdateCapacityProviderOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateCapacityProviderOutputBuilder
impl Default for UpdateCapacityProviderOutputBuilder
source§fn default() -> UpdateCapacityProviderOutputBuilder
fn default() -> UpdateCapacityProviderOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateCapacityProviderOutputBuilder
impl PartialEq for UpdateCapacityProviderOutputBuilder
source§fn eq(&self, other: &UpdateCapacityProviderOutputBuilder) -> bool
fn eq(&self, other: &UpdateCapacityProviderOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCapacityProviderOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateCapacityProviderOutputBuilder
impl RefUnwindSafe for UpdateCapacityProviderOutputBuilder
impl Send for UpdateCapacityProviderOutputBuilder
impl Sync for UpdateCapacityProviderOutputBuilder
impl Unpin for UpdateCapacityProviderOutputBuilder
impl UnwindSafe for UpdateCapacityProviderOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.