Struct aws_sdk_iotfleetwise::client::fluent_builders::CreateFleet
source · pub struct CreateFleet { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateFleet
.
Creates a fleet that represents a group of vehicles.
You must create both a signal catalog and vehicles before you can create a fleet.
For more information, see Fleets in the Amazon Web Services IoT FleetWise Developer Guide.
Implementations§
source§impl CreateFleet
impl CreateFleet
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateFleet, AwsResponseRetryClassifier>, SdkError<CreateFleetError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateFleet, AwsResponseRetryClassifier>, SdkError<CreateFleetError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateFleetOutput, SdkError<CreateFleetError>>
pub async fn send(self) -> Result<CreateFleetOutput, SdkError<CreateFleetError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 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 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.
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.
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.
Trait Implementations§
source§impl Clone for CreateFleet
impl Clone for CreateFleet
source§fn clone(&self) -> CreateFleet
fn clone(&self) -> CreateFleet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more