Struct aws_sdk_snowball::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder
source · pub struct CreateReturnShippingLabelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateReturnShippingLabel
.
Creates a shipping label that will be used to return the Snow device to Amazon Web Services.
Implementations§
source§impl CreateReturnShippingLabelFluentBuilder
impl CreateReturnShippingLabelFluentBuilder
sourcepub fn as_input(&self) -> &CreateReturnShippingLabelInputBuilder
pub fn as_input(&self) -> &CreateReturnShippingLabelInputBuilder
Access the CreateReturnShippingLabel as a reference.
sourcepub async fn send(
self
) -> Result<CreateReturnShippingLabelOutput, SdkError<CreateReturnShippingLabelError, HttpResponse>>
pub async fn send( self ) -> Result<CreateReturnShippingLabelOutput, SdkError<CreateReturnShippingLabelError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateReturnShippingLabelOutput, CreateReturnShippingLabelError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateReturnShippingLabelOutput, CreateReturnShippingLabelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID for a job that you want to create the return shipping label for; for example, JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID for a job that you want to create the return shipping label for; for example, JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID for a job that you want to create the return shipping label for; for example, JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn shipping_option(self, input: ShippingOption) -> Self
pub fn shipping_option(self, input: ShippingOption) -> Self
The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
sourcepub fn set_shipping_option(self, input: Option<ShippingOption>) -> Self
pub fn set_shipping_option(self, input: Option<ShippingOption>) -> Self
The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
sourcepub fn get_shipping_option(&self) -> &Option<ShippingOption>
pub fn get_shipping_option(&self) -> &Option<ShippingOption>
The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
Trait Implementations§
source§impl Clone for CreateReturnShippingLabelFluentBuilder
impl Clone for CreateReturnShippingLabelFluentBuilder
source§fn clone(&self) -> CreateReturnShippingLabelFluentBuilder
fn clone(&self) -> CreateReturnShippingLabelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more