TransportPreferences Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. TransportPreferences
- com.
Implements
public final class TransportPreferences
implements JsonSerializable<TransportPreferences>
Preferences related to the shipment logistics of the sku.
Constructor Summary
| Constructor | Description |
|---|---|
| TransportPreferences() |
Creates an instance of Transport |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Transport |
fromJson(JsonReader jsonReader)
Reads an instance of Transport |
| Boolean |
isUpdated()
Get the is |
|
Transport |
preferredShipmentType()
Get the preferred |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Transport |
withPreferredShipmentType(TransportShipmentTypes preferredShipmentType)
Set the preferred |
Methods inherited from java.lang.Object
Constructor Details
TransportPreferences
public TransportPreferences()
Creates an instance of TransportPreferences class.
Method Details
fromJson
public static TransportPreferences fromJson(JsonReader jsonReader)
Reads an instance of TransportPreferences from the JsonReader.
Parameters:
Returns:
Throws:
isUpdated
public Boolean isUpdated()
Get the isUpdated property: Read only property which indicates whether transport preferences has been updated or not after device is prepared.
Returns:
preferredShipmentType
public TransportShipmentTypes preferredShipmentType()
Get the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPreferredShipmentType
public TransportPreferences withPreferredShipmentType(TransportShipmentTypes preferredShipmentType)
Set the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.
Parameters:
Returns: