Class TransportPreferences
java.lang.Object
com.azure.resourcemanager.databox.models.TransportPreferences
Preferences related to the shipment logistics of the sku.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.void
validate()
Validates the instance.withPreferredShipmentType
(TransportShipmentTypes preferredShipmentType) Set the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.
-
Constructor Details
-
TransportPreferences
public TransportPreferences()Creates an instance of TransportPreferences class.
-
-
Method Details
-
preferredShipmentType
Get the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.- Returns:
- the preferredShipmentType value.
-
withPreferredShipmentType
Set the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.- Parameters:
preferredShipmentType
- the preferredShipmentType value to set.- Returns:
- the TransportPreferences object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-