Aracılığıyla paylaş


SecuritySettings Class

public final class SecuritySettings
extends ArmBaseModel

The security settings of a device.

Constructor Summary

Constructor Description
SecuritySettings()

Creates an instance of SecuritySettings class.

Method Summary

Modifier and Type Method and Description
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.

static SecuritySettings fromJson(JsonReader jsonReader)

Reads an instance of SecuritySettings from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

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.

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:

the deviceAdminPassword value.

fromJson

public static SecuritySettings fromJson(JsonReader jsonReader)

Reads an instance of SecuritySettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SecuritySettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SecuritySettings.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecuritySettings.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecuritySettings.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecuritySettings.type()

Returns:

the type value.

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:

deviceAdminPassword - the deviceAdminPassword value to set.

Returns:

the SecuritySettings object itself.

Applies to