Class Preferences
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.Preferences
-
public final class Preferences extends Object
Preferences related to the order.
-
-
Constructor Summary
Constructors Constructor Description Preferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionPreferences
encryptionPreferences()
Get the encryptionPreferences property: Preferences related to the Encryption.ManagementResourcePreferences
managementResourcePreferences()
Get the managementResourcePreferences property: Preferences related to the Management resource.List<NotificationPreference>
notificationPreferences()
Get the notificationPreferences property: Notification preferences.TransportPreferences
transportPreferences()
Get the transportPreferences property: Preferences related to the shipment logistics of the order.void
validate()
Validates the instance.Preferences
withEncryptionPreferences(EncryptionPreferences encryptionPreferences)
Set the encryptionPreferences property: Preferences related to the Encryption.Preferences
withManagementResourcePreferences(ManagementResourcePreferences managementResourcePreferences)
Set the managementResourcePreferences property: Preferences related to the Management resource.Preferences
withNotificationPreferences(List<NotificationPreference> notificationPreferences)
Set the notificationPreferences property: Notification preferences.Preferences
withTransportPreferences(TransportPreferences transportPreferences)
Set the transportPreferences property: Preferences related to the shipment logistics of the order.
-
-
-
Method Detail
-
notificationPreferences
public List<NotificationPreference> notificationPreferences()
Get the notificationPreferences property: Notification preferences.- Returns:
- the notificationPreferences value.
-
withNotificationPreferences
public Preferences withNotificationPreferences(List<NotificationPreference> notificationPreferences)
Set the notificationPreferences property: Notification preferences.- Parameters:
notificationPreferences
- the notificationPreferences value to set.- Returns:
- the Preferences object itself.
-
transportPreferences
public TransportPreferences transportPreferences()
Get the transportPreferences property: Preferences related to the shipment logistics of the order.- Returns:
- the transportPreferences value.
-
withTransportPreferences
public Preferences withTransportPreferences(TransportPreferences transportPreferences)
Set the transportPreferences property: Preferences related to the shipment logistics of the order.- 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.
-
managementResourcePreferences
public ManagementResourcePreferences managementResourcePreferences()
Get the managementResourcePreferences property: Preferences related to the Management resource.- Returns:
- the managementResourcePreferences value.
-
withManagementResourcePreferences
public Preferences withManagementResourcePreferences(ManagementResourcePreferences managementResourcePreferences)
Set the managementResourcePreferences property: Preferences related to the Management resource.- Parameters:
managementResourcePreferences
- the managementResourcePreferences value to set.- Returns:
- the Preferences object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-