Class UpdateJobShipmentStateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.snowball.model.SnowballRequest
-
- software.amazon.awssdk.services.snowball.model.UpdateJobShipmentStateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateJobShipmentStateRequest.Builder,UpdateJobShipmentStateRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateJobShipmentStateRequest extends SnowballRequest implements ToCopyableBuilder<UpdateJobShipmentStateRequest.Builder,UpdateJobShipmentStateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateJobShipmentStateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateJobShipmentStateRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job ID of the job whose shipment date you want to update, for exampleJID123e4567-e89b-12d3-a456-426655440000.List<SdkField<?>>sdkFields()static Class<? extends UpdateJobShipmentStateRequest.Builder>serializableBuilderClass()ShipmentStateshipmentState()The state of a device when it is being shipped.StringshipmentStateAsString()The state of a device when it is being shipped.UpdateJobShipmentStateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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
RECEIVEDwhen the device arrives at your location.Set to
RETURNEDwhen 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,
shipmentStatewill returnShipmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshipmentStateAsString().- Returns:
- The state of a device when it is being shipped.
Set to
RECEIVEDwhen the device arrives at your location.Set to
RETURNEDwhen 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
RECEIVEDwhen the device arrives at your location.Set to
RETURNEDwhen 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,
shipmentStatewill returnShipmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshipmentStateAsString().- Returns:
- The state of a device when it is being shipped.
Set to
RECEIVEDwhen the device arrives at your location.Set to
RETURNEDwhen you have returned the device to Amazon Web Services. - See Also:
ShipmentState
-
toBuilder
public UpdateJobShipmentStateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateJobShipmentStateRequest.Builder,UpdateJobShipmentStateRequest>- Specified by:
toBuilderin classSnowballRequest
-
builder
public static UpdateJobShipmentStateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateJobShipmentStateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-