Struct aws_sdk_snowball::operation::update_job_shipment_state::builders::UpdateJobShipmentStateInputBuilder
source · #[non_exhaustive]pub struct UpdateJobShipmentStateInputBuilder { /* private fields */ }
Expand description
A builder for UpdateJobShipmentStateInput
.
Implementations§
source§impl UpdateJobShipmentStateInputBuilder
impl UpdateJobShipmentStateInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The job ID of the job whose shipment date you want to update, 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 job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn shipment_state(self, input: ShipmentState) -> Self
pub fn shipment_state(self, input: ShipmentState) -> Self
The state of a device when it is being shipped.
Set to RECEIVED
when the device arrives at your location.
Set to RETURNED
when you have returned the device to Amazon Web Services.
sourcepub fn set_shipment_state(self, input: Option<ShipmentState>) -> Self
pub fn set_shipment_state(self, input: Option<ShipmentState>) -> Self
The state of a device when it is being shipped.
Set to RECEIVED
when the device arrives at your location.
Set to RETURNED
when you have returned the device to Amazon Web Services.
sourcepub fn get_shipment_state(&self) -> &Option<ShipmentState>
pub fn get_shipment_state(&self) -> &Option<ShipmentState>
The state of a device when it is being shipped.
Set to RECEIVED
when the device arrives at your location.
Set to RETURNED
when you have returned the device to Amazon Web Services.
sourcepub fn build(self) -> Result<UpdateJobShipmentStateInput, BuildError>
pub fn build(self) -> Result<UpdateJobShipmentStateInput, BuildError>
Consumes the builder and constructs a UpdateJobShipmentStateInput
.
source§impl UpdateJobShipmentStateInputBuilder
impl UpdateJobShipmentStateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateJobShipmentStateOutput, SdkError<UpdateJobShipmentStateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateJobShipmentStateOutput, SdkError<UpdateJobShipmentStateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateJobShipmentStateInputBuilder
impl Clone for UpdateJobShipmentStateInputBuilder
source§fn clone(&self) -> UpdateJobShipmentStateInputBuilder
fn clone(&self) -> UpdateJobShipmentStateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateJobShipmentStateInputBuilder
impl Default for UpdateJobShipmentStateInputBuilder
source§fn default() -> UpdateJobShipmentStateInputBuilder
fn default() -> UpdateJobShipmentStateInputBuilder
source§impl PartialEq for UpdateJobShipmentStateInputBuilder
impl PartialEq for UpdateJobShipmentStateInputBuilder
source§fn eq(&self, other: &UpdateJobShipmentStateInputBuilder) -> bool
fn eq(&self, other: &UpdateJobShipmentStateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.