Class TransportPreferences

java.lang.Object
com.azure.resourcemanager.databox.models.TransportPreferences

public final class TransportPreferences extends Object
Preferences related to the shipment logistics of the sku.
  • Constructor Details

    • TransportPreferences

      public TransportPreferences()
      Creates an instance of TransportPreferences class.
  • Method Details

    • 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.