#[non_exhaustive]pub struct AssociateFleetInputBuilder { /* private fields */ }
Expand description
A builder for AssociateFleetInput
.
Implementations§
source§impl AssociateFleetInputBuilder
impl AssociateFleetInputBuilder
sourcepub fn fleet_name(self, input: impl Into<String>) -> Self
pub fn fleet_name(self, input: impl Into<String>) -> Self
The name of the fleet.
This field is required.sourcepub fn set_fleet_name(self, input: Option<String>) -> Self
pub fn set_fleet_name(self, input: Option<String>) -> Self
The name of the fleet.
sourcepub fn get_fleet_name(&self) -> &Option<String>
pub fn get_fleet_name(&self) -> &Option<String>
The name of the fleet.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack.
sourcepub fn build(self) -> Result<AssociateFleetInput, BuildError>
pub fn build(self) -> Result<AssociateFleetInput, BuildError>
Consumes the builder and constructs a AssociateFleetInput
.
source§impl AssociateFleetInputBuilder
impl AssociateFleetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateFleetOutput, SdkError<AssociateFleetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateFleetOutput, SdkError<AssociateFleetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateFleetInputBuilder
impl Clone for AssociateFleetInputBuilder
source§fn clone(&self) -> AssociateFleetInputBuilder
fn clone(&self) -> AssociateFleetInputBuilder
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 Debug for AssociateFleetInputBuilder
impl Debug for AssociateFleetInputBuilder
source§impl Default for AssociateFleetInputBuilder
impl Default for AssociateFleetInputBuilder
source§fn default() -> AssociateFleetInputBuilder
fn default() -> AssociateFleetInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateFleetInputBuilder
impl PartialEq for AssociateFleetInputBuilder
source§fn eq(&self, other: &AssociateFleetInputBuilder) -> bool
fn eq(&self, other: &AssociateFleetInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateFleetInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateFleetInputBuilder
impl RefUnwindSafe for AssociateFleetInputBuilder
impl Send for AssociateFleetInputBuilder
impl Sync for AssociateFleetInputBuilder
impl Unpin for AssociateFleetInputBuilder
impl UnwindSafe for AssociateFleetInputBuilder
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.