Class Shipment
- java.lang.Object
-
- software.amazon.awssdk.services.snowball.model.Shipment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Shipment.Builder,Shipment>
@Generated("software.amazon.awssdk:codegen") public final class Shipment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Shipment.Builder,Shipment>
The
StatusandTrackingNumberinformation for an inbound or outbound shipment.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShipment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Shipment.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Shipment.Builder>serializableBuilderClass()Stringstatus()Status information for a shipment.Shipment.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrackingNumber()The tracking number for this job.-
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
-
status
public final String status()
Status information for a shipment.
- Returns:
- Status information for a shipment.
-
trackingNumber
public final String trackingNumber()
The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.
- Returns:
- The tracking number for this job. Using this tracking number with your region's carrier's website, you
can track a Snow device as the carrier transports it.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.
-
toBuilder
public Shipment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Shipment.Builder,Shipment>
-
builder
public static Shipment.Builder builder()
-
serializableBuilderClass
public static Class<? extends Shipment.Builder> serializableBuilderClass()
-
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.
-
-