@Generated(value="software.amazon.awssdk:codegen") public final class ShipmentInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShipmentInformation.Builder,ShipmentInformation>
Information about a line item shipment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ShipmentInformation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ShipmentInformation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ShipmentInformation.Builder> |
serializableBuilderClass() |
ShipmentCarrier |
shipmentCarrier()
The carrier of the shipment.
|
String |
shipmentCarrierAsString()
The carrier of the shipment.
|
String |
shipmentTrackingNumber()
The tracking number of the shipment.
|
ShipmentInformation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String shipmentTrackingNumber()
The tracking number of the shipment.
public final ShipmentCarrier shipmentCarrier()
The carrier of the shipment.
If the service returns an enum value that is not available in the current SDK version, shipmentCarrier
will return ShipmentCarrier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from shipmentCarrierAsString().
ShipmentCarrierpublic final String shipmentCarrierAsString()
The carrier of the shipment.
If the service returns an enum value that is not available in the current SDK version, shipmentCarrier
will return ShipmentCarrier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from shipmentCarrierAsString().
ShipmentCarrierpublic ShipmentInformation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ShipmentInformation.Builder,ShipmentInformation>public static ShipmentInformation.Builder builder()
public static Class<? extends ShipmentInformation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.