Class ShipmentInformation
- java.lang.Object
-
- software.amazon.awssdk.services.outposts.model.ShipmentInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ShipmentInformation.Builder,ShipmentInformation>
@Generated("software.amazon.awssdk:codegen") public final class ShipmentInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShipmentInformation.Builder,ShipmentInformation>
Information about a line item shipment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShipmentInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShipmentInformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ShipmentInformation.Builder>serializableBuilderClass()ShipmentCarriershipmentCarrier()The carrier of the shipment.StringshipmentCarrierAsString()The carrier of the shipment.StringshipmentTrackingNumber()The tracking number of the shipment.ShipmentInformation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
shipmentTrackingNumber
public final String shipmentTrackingNumber()
The tracking number of the shipment.
- Returns:
- The tracking number of the shipment.
-
shipmentCarrier
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,
shipmentCarrierwill returnShipmentCarrier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshipmentCarrierAsString().- Returns:
- The carrier of the shipment.
- See Also:
ShipmentCarrier
-
shipmentCarrierAsString
public final String shipmentCarrierAsString()
The carrier of the shipment.
If the service returns an enum value that is not available in the current SDK version,
shipmentCarrierwill returnShipmentCarrier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshipmentCarrierAsString().- Returns:
- The carrier of the shipment.
- See Also:
ShipmentCarrier
-
toBuilder
public ShipmentInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ShipmentInformation.Builder,ShipmentInformation>
-
builder
public static ShipmentInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ShipmentInformation.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.
-
-