#[non_exhaustive]pub struct CreateFleetInputBuilder { /* private fields */ }Expand description
A builder for CreateFleetInput.
Implementations§
source§impl CreateFleetInputBuilder
impl CreateFleetInputBuilder
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
The unique ID of the fleet to create.
This field is required.sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
The unique ID of the fleet to create.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
The unique ID of the fleet to create.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the fleet to create.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the fleet to create.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A brief description of the fleet to create.
sourcepub fn signal_catalog_arn(self, input: impl Into<String>) -> Self
pub fn signal_catalog_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a signal catalog.
This field is required.sourcepub fn set_signal_catalog_arn(self, input: Option<String>) -> Self
pub fn set_signal_catalog_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a signal catalog.
sourcepub fn get_signal_catalog_arn(&self) -> &Option<String>
pub fn get_signal_catalog_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of a signal catalog.
Appends an item to tags.
To override the contents of this collection use set_tags.
Metadata that can be used to manage the fleet.
Metadata that can be used to manage the fleet.
Metadata that can be used to manage 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CreateFleetInputBuilder
impl PartialEq for CreateFleetInputBuilder
source§fn eq(&self, other: &CreateFleetInputBuilder) -> bool
fn eq(&self, other: &CreateFleetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.