SecuritySettings Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. databoxedge. models. ArmBaseModel - com.
azure. resourcemanager. databoxedge. models. SecuritySettings
- com.
- com.
- com.
public final class SecuritySettings
extends ArmBaseModel
The security settings of a device.
Constructor Summary
| Constructor | Description |
|---|---|
| SecuritySettings() |
Creates an instance of Security |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Asymmetric |
deviceAdminPassword()
Get the device |
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Security |
withDeviceAdminPassword(AsymmetricEncryptedSecret deviceAdminPassword)
Set the device |
Methods inherited from ArmBaseModel
Methods inherited from java.lang.Object
Constructor Details
SecuritySettings
public SecuritySettings()
Creates an instance of SecuritySettings class.
Method Details
deviceAdminPassword
public AsymmetricEncryptedSecret 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:
fromJson
public static SecuritySettings fromJson(JsonReader jsonReader)
Reads an instance of SecuritySettings from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SecuritySettings.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SecuritySettings.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecuritySettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SecuritySettings.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SecuritySettings.validate()withDeviceAdminPassword
public SecuritySettings 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. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters.
Parameters:
Returns: