Class TransportPreferences
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.TransportPreferences
-
public final class TransportPreferences extends Object
Preferences related to the shipment logistics of the sku.
-
-
Constructor Summary
Constructors Constructor Description TransportPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportShipmentTypes
preferredShipmentType()
Get the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.void
validate()
Validates the instance.TransportPreferences
withPreferredShipmentType(TransportShipmentTypes preferredShipmentType)
Set the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.
-
-
-
Method Detail
-
preferredShipmentType
public TransportShipmentTypes preferredShipmentType()
Get the preferredShipmentType property: Indicates Shipment Logistics type that the customer preferred.- Returns:
- the preferredShipmentType value.
-
withPreferredShipmentType
public TransportPreferences withPreferredShipmentType(TransportShipmentTypes preferredShipmentType)
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.
-
-