Class Preferences

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

public final class Preferences extends Object
Preferences related to the order.
  • Constructor Details

    • Preferences

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

    • preferredDataCenterRegion

      public List<String> preferredDataCenterRegion()
      Get the preferredDataCenterRegion property: Preferred data center region.
      Returns:
      the preferredDataCenterRegion value.
    • withPreferredDataCenterRegion

      public Preferences withPreferredDataCenterRegion(List<String> preferredDataCenterRegion)
      Set the preferredDataCenterRegion property: Preferred data center region.
      Parameters:
      preferredDataCenterRegion - the preferredDataCenterRegion value to set.
      Returns:
      the Preferences object itself.
    • transportPreferences

      public TransportPreferences transportPreferences()
      Get the transportPreferences property: Preferences related to the shipment logistics of the sku.
      Returns:
      the transportPreferences value.
    • withTransportPreferences

      public Preferences withTransportPreferences(TransportPreferences transportPreferences)
      Set the transportPreferences property: Preferences related to the shipment logistics of the sku.
      Parameters:
      transportPreferences - the transportPreferences value to set.
      Returns:
      the Preferences object itself.
    • encryptionPreferences

      public EncryptionPreferences encryptionPreferences()
      Get the encryptionPreferences property: Preferences related to the Encryption.
      Returns:
      the encryptionPreferences value.
    • withEncryptionPreferences

      public Preferences withEncryptionPreferences(EncryptionPreferences encryptionPreferences)
      Set the encryptionPreferences property: Preferences related to the Encryption.
      Parameters:
      encryptionPreferences - the encryptionPreferences value to set.
      Returns:
      the Preferences object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.