Class UpdateJobShipmentStateRequest

    • Method Detail

      • jobId

        public final String jobId()

        The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

        Returns:
        The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.
      • shipmentState

        public final ShipmentState 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.

        If the service returns an enum value that is not available in the current SDK version, shipmentState will return ShipmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shipmentStateAsString().

        Returns:
        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.

        See Also:
        ShipmentState
      • shipmentStateAsString

        public final String shipmentStateAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, shipmentState will return ShipmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shipmentStateAsString().

        Returns:
        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.

        See Also:
        ShipmentState
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object