@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Shipment extends Object implements Serializable, Cloneable, StructuredPojo
The Status
and TrackingNumber
information for an inbound or outbound shipment.
Constructor and Description |
---|
Shipment() |
Modifier and Type | Method and Description |
---|---|
Shipment |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Status information for a shipment.
|
String |
getTrackingNumber()
The tracking number for this job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
Status information for a shipment.
|
void |
setTrackingNumber(String trackingNumber)
The tracking number for this job.
|
String |
toString()
Returns a string representation of this object.
|
Shipment |
withStatus(String status)
Status information for a shipment.
|
Shipment |
withTrackingNumber(String trackingNumber)
The tracking number for this job.
|
public void setStatus(String status)
Status information for a shipment.
status
- Status information for a shipment.public String getStatus()
Status information for a shipment.
public Shipment withStatus(String status)
Status information for a shipment.
status
- Status information for a shipment.public void setTrackingNumber(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.
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.
public String getTrackingNumber()
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.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.
public Shipment withTrackingNumber(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.
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.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.