#[non_exhaustive]pub struct CreateFleetInputBuilder { /* private fields */ }Expand description
A builder for CreateFleetInput.
Implementations§
source§impl CreateFleetInputBuilder
impl CreateFleetInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the fleet.
This field is required.Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map that contains tag keys and tag values that are attached to the fleet.
A map that contains tag keys and tag values that are attached to the fleet.
A map that contains tag keys and tag values that are attached to the fleet.
sourcepub fn build(self) -> Result<CreateFleetInput, BuildError>
pub fn build(self) -> Result<CreateFleetInput, BuildError>
Consumes the builder and constructs a CreateFleetInput.
source§impl CreateFleetInputBuilder
impl CreateFleetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFleetOutput, SdkError<CreateFleetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFleetOutput, SdkError<CreateFleetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFleetInputBuilder
impl Clone for CreateFleetInputBuilder
source§fn clone(&self) -> CreateFleetInputBuilder
fn clone(&self) -> CreateFleetInputBuilder
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 CreateFleetInputBuilder
impl Debug for CreateFleetInputBuilder
source§impl Default for CreateFleetInputBuilder
impl Default for CreateFleetInputBuilder
source§fn default() -> CreateFleetInputBuilder
fn default() -> CreateFleetInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateFleetInputBuilder
impl PartialEq for CreateFleetInputBuilder
source§fn eq(&self, other: &CreateFleetInputBuilder) -> bool
fn eq(&self, other: &CreateFleetInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateFleetInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateFleetInputBuilder
impl Send for CreateFleetInputBuilder
impl Sync for CreateFleetInputBuilder
impl Unpin for CreateFleetInputBuilder
impl UnwindSafe for CreateFleetInputBuilder
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>
Creates a shared type from an unshared type.