public UpdateJobShipmentStateRequest withShipmentState(ShipmentState shipmentState) {
        this.shipmentState = shipmentState.toString();
        return this;
    }
<p>
The state of a device when it is being shipped.
</p>
<p>
Set to <code>RECEIVED</code> when the device arrives at your location.
</p>
<p>
Set to <code>RETURNED</code> when you have returned the device to Amazon Web Services.
</p>

@param shipmentState
       The state of a device when it is being shipped. </p>
       <p>
       Set to <code>RECEIVED</code> when the device arrives at your location.
       </p>
       <p>
       Set to <code>RETURNED</code> when you have returned the device to Amazon Web Services.
@return Returns a reference to this object so that method calls can be chained together.
@see ShipmentState
aws-java-sdk-snowball/src/main/java/com/amazonaws/services/snowball/model/UpdateJobShipmentStateRequest.java