Class SecuritySettings
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.models.SecuritySettings
The security settings of a device.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deviceAdminPassword property: Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device.void
validate()
Validates the instance.withDeviceAdminPassword
(AsymmetricEncryptedSecret deviceAdminPassword) Set the deviceAdminPassword property: Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SecuritySettings
public SecuritySettings()Creates an instance of SecuritySettings class.
-
-
Method Details
-
deviceAdminPassword
Get the deviceAdminPassword property: Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters.- Returns:
- the deviceAdminPassword value.
-
withDeviceAdminPassword
Set the deviceAdminPassword property: Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters.- Parameters:
deviceAdminPassword
- the deviceAdminPassword value to set.- Returns:
- the SecuritySettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classArmBaseModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-