@Generated(value="software.amazon.awssdk:codegen") public class Shipment extends Object implements StructuredPojo, ToCopyableBuilder<Shipment.Builder,Shipment>
The Status
and TrackingNumber
information for an inbound or outbound shipment.
Modifier and Type | Class and Description |
---|---|
static interface |
Shipment.Builder |
Modifier and Type | Method and Description |
---|---|
static Shipment.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Shipment.Builder> |
serializableBuilderClass() |
String |
status()
Status information for a shipment.
|
Shipment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
trackingNumber()
The tracking number for this job.
|
copy
public String status()
Status information for a shipment.
public String trackingNumber()
The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snowball as the carrier transports it.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.
public Shipment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Shipment.Builder,Shipment>
public static Shipment.Builder builder()
public static Class<? extends Shipment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.