Preferences Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. Preferences
- com.
Implements
public final class Preferences
implements JsonSerializable<Preferences>
Preferences related to the order.
Constructor Summary
| Constructor | Description |
|---|---|
| Preferences() |
Creates an instance of Preferences class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Encryption |
encryptionPreferences()
Get the encryption |
| static Preferences |
fromJson(JsonReader jsonReader)
Reads an instance of Preferences from the Json |
| List<String> |
preferredDataCenterRegion()
Get the preferred |
|
Transport |
reverseTransportPreferences()
Get the reverse |
| List<String> |
storageAccountAccessTierPreferences()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Transport |
transportPreferences()
Get the transport |
| void |
validate()
Validates the instance. |
| Preferences |
withEncryptionPreferences(EncryptionPreferences encryptionPreferences)
Set the encryption |
| Preferences |
withPreferredDataCenterRegion(List<String> preferredDataCenterRegion)
Set the preferred |
| Preferences |
withReverseTransportPreferences(TransportPreferences reverseTransportPreferences)
Set the reverse |
| Preferences |
withStorageAccountAccessTierPreferences(List<String> storageAccountAccessTierPreferences)
Set the storage |
| Preferences |
withTransportPreferences(TransportPreferences transportPreferences)
Set the transport |
Methods inherited from java.lang.Object
Constructor Details
Preferences
public Preferences()
Creates an instance of Preferences class.
Method Details
encryptionPreferences
public EncryptionPreferences encryptionPreferences()
Get the encryptionPreferences property: Preferences related to the Encryption.
Returns:
fromJson
public static Preferences fromJson(JsonReader jsonReader)
Reads an instance of Preferences from the JsonReader.
Parameters:
Returns:
Throws:
preferredDataCenterRegion
public List<String> preferredDataCenterRegion()
Get the preferredDataCenterRegion property: Preferred data center region.
Returns:
reverseTransportPreferences
public TransportPreferences reverseTransportPreferences()
Get the reverseTransportPreferences property: Optional Preferences related to the reverse shipment logistics of the sku.
Returns:
storageAccountAccessTierPreferences
public List<String> storageAccountAccessTierPreferences()
Get the storageAccountAccessTierPreferences property: Preferences related to the Access Tier of storage accounts.
Returns:
toJson
transportPreferences
public TransportPreferences transportPreferences()
Get the transportPreferences property: Preferences related to the shipment logistics of the sku.
Returns:
validate
public void validate()
Validates the instance.
withEncryptionPreferences
public Preferences withEncryptionPreferences(EncryptionPreferences encryptionPreferences)
Set the encryptionPreferences property: Preferences related to the Encryption.
Parameters:
Returns:
withPreferredDataCenterRegion
public Preferences withPreferredDataCenterRegion(List<String> preferredDataCenterRegion)
Set the preferredDataCenterRegion property: Preferred data center region.
Parameters:
Returns:
withReverseTransportPreferences
public Preferences withReverseTransportPreferences(TransportPreferences reverseTransportPreferences)
Set the reverseTransportPreferences property: Optional Preferences related to the reverse shipment logistics of the sku.
Parameters:
Returns:
withStorageAccountAccessTierPreferences
public Preferences withStorageAccountAccessTierPreferences(List<String> storageAccountAccessTierPreferences)
Set the storageAccountAccessTierPreferences property: Preferences related to the Access Tier of storage accounts.
Parameters:
Returns:
withTransportPreferences
public Preferences withTransportPreferences(TransportPreferences transportPreferences)
Set the transportPreferences property: Preferences related to the shipment logistics of the sku.
Parameters:
Returns: