Class Preferences
java.lang.Object
com.azure.resourcemanager.databox.models.Preferences
Preferences related to the order.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionPreferences property: Preferences related to the Encryption.Get the preferredDataCenterRegion property: Preferred data center region.Get the transportPreferences property: Preferences related to the shipment logistics of the sku.void
validate()
Validates the instance.withEncryptionPreferences
(EncryptionPreferences encryptionPreferences) Set the encryptionPreferences property: Preferences related to the Encryption.withPreferredDataCenterRegion
(List<String> preferredDataCenterRegion) Set the preferredDataCenterRegion property: Preferred data center region.withTransportPreferences
(TransportPreferences transportPreferences) Set the transportPreferences property: Preferences related to the shipment logistics of the sku.
-
Constructor Details
-
Preferences
public Preferences()Creates an instance of Preferences class.
-
-
Method Details
-
preferredDataCenterRegion
Get the preferredDataCenterRegion property: Preferred data center region.- Returns:
- the preferredDataCenterRegion value.
-
withPreferredDataCenterRegion
Set the preferredDataCenterRegion property: Preferred data center region.- Parameters:
preferredDataCenterRegion
- the preferredDataCenterRegion value to set.- Returns:
- the Preferences object itself.
-
transportPreferences
Get the transportPreferences property: Preferences related to the shipment logistics of the sku.- Returns:
- the transportPreferences value.
-
withTransportPreferences
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
Get the encryptionPreferences property: Preferences related to the Encryption.- Returns:
- the encryptionPreferences value.
-
withEncryptionPreferences
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.
-