@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShipmentInformation extends Object implements Serializable, Cloneable, StructuredPojo
Information about a line item shipment.
Constructor and Description |
---|
ShipmentInformation() |
Modifier and Type | Method and Description |
---|---|
ShipmentInformation |
clone() |
boolean |
equals(Object obj) |
String |
getShipmentCarrier()
The carrier of the shipment.
|
String |
getShipmentTrackingNumber()
The tracking number of the shipment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setShipmentCarrier(String shipmentCarrier)
The carrier of the shipment.
|
void |
setShipmentTrackingNumber(String shipmentTrackingNumber)
The tracking number of the shipment.
|
String |
toString()
Returns a string representation of this object.
|
ShipmentInformation |
withShipmentCarrier(ShipmentCarrier shipmentCarrier)
The carrier of the shipment.
|
ShipmentInformation |
withShipmentCarrier(String shipmentCarrier)
The carrier of the shipment.
|
ShipmentInformation |
withShipmentTrackingNumber(String shipmentTrackingNumber)
The tracking number of the shipment.
|
public void setShipmentTrackingNumber(String shipmentTrackingNumber)
The tracking number of the shipment.
shipmentTrackingNumber
- The tracking number of the shipment.public String getShipmentTrackingNumber()
The tracking number of the shipment.
public ShipmentInformation withShipmentTrackingNumber(String shipmentTrackingNumber)
The tracking number of the shipment.
shipmentTrackingNumber
- The tracking number of the shipment.public void setShipmentCarrier(String shipmentCarrier)
The carrier of the shipment.
shipmentCarrier
- The carrier of the shipment.ShipmentCarrier
public String getShipmentCarrier()
The carrier of the shipment.
ShipmentCarrier
public ShipmentInformation withShipmentCarrier(String shipmentCarrier)
The carrier of the shipment.
shipmentCarrier
- The carrier of the shipment.ShipmentCarrier
public ShipmentInformation withShipmentCarrier(ShipmentCarrier shipmentCarrier)
The carrier of the shipment.
shipmentCarrier
- The carrier of the shipment.ShipmentCarrier
public String toString()
toString
in class Object
Object.toString()
public ShipmentInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.