Struct aws_sdk_snowball::operation::create_return_shipping_label::builders::CreateReturnShippingLabelInputBuilder
source · #[non_exhaustive]pub struct CreateReturnShippingLabelInputBuilder { /* private fields */ }
Expand description
A builder for CreateReturnShippingLabelInput
.
Implementations§
source§impl CreateReturnShippingLabelInputBuilder
impl CreateReturnShippingLabelInputBuilder
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:
sourcepub fn build(self) -> Result<CreateReturnShippingLabelInput, BuildError>
pub fn build(self) -> Result<CreateReturnShippingLabelInput, BuildError>
Consumes the builder and constructs a CreateReturnShippingLabelInput
.
source§impl CreateReturnShippingLabelInputBuilder
impl CreateReturnShippingLabelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateReturnShippingLabelOutput, SdkError<CreateReturnShippingLabelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateReturnShippingLabelOutput, SdkError<CreateReturnShippingLabelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateReturnShippingLabelInputBuilder
impl Clone for CreateReturnShippingLabelInputBuilder
source§fn clone(&self) -> CreateReturnShippingLabelInputBuilder
fn clone(&self) -> CreateReturnShippingLabelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateReturnShippingLabelInputBuilder
impl Default for CreateReturnShippingLabelInputBuilder
source§fn default() -> CreateReturnShippingLabelInputBuilder
fn default() -> CreateReturnShippingLabelInputBuilder
source§impl PartialEq for CreateReturnShippingLabelInputBuilder
impl PartialEq for CreateReturnShippingLabelInputBuilder
source§fn eq(&self, other: &CreateReturnShippingLabelInputBuilder) -> bool
fn eq(&self, other: &CreateReturnShippingLabelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.