Share via


DataBoxHeavySecret Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.DataBoxHeavySecret

Implements

public final class DataBoxHeavySecret
implements JsonSerializable<DataBoxHeavySecret>

The secrets related to a databox heavy.

Constructor Summary

Constructor Description
DataBoxHeavySecret()

Creates an instance of DataBoxHeavySecret class.

Method Summary

Modifier and Type Method and Description
List<AccountCredentialDetails> accountCredentialDetails()

Get the accountCredentialDetails property: Per account level access credentials.

String devicePassword()

Get the devicePassword property: Password for out of the box experience on device.

String deviceSerialNumber()

Get the deviceSerialNumber property: Serial number of the assigned device.

String encodedValidationCertPubKey()

Get the encodedValidationCertPubKey property: The base 64 encoded public key to authenticate with the device.

static DataBoxHeavySecret fromJson(JsonReader jsonReader)

Reads an instance of DataBoxHeavySecret from the JsonReader.

List<ApplianceNetworkConfiguration> networkConfigurations()

Get the networkConfigurations property: Network configuration of the appliance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DataBoxHeavySecret

public DataBoxHeavySecret()

Creates an instance of DataBoxHeavySecret class.

Method Details

accountCredentialDetails

public List<AccountCredentialDetails> accountCredentialDetails()

Get the accountCredentialDetails property: Per account level access credentials.

Returns:

the accountCredentialDetails value.

devicePassword

public String devicePassword()

Get the devicePassword property: Password for out of the box experience on device.

Returns:

the devicePassword value.

deviceSerialNumber

public String deviceSerialNumber()

Get the deviceSerialNumber property: Serial number of the assigned device.

Returns:

the deviceSerialNumber value.

encodedValidationCertPubKey

public String encodedValidationCertPubKey()

Get the encodedValidationCertPubKey property: The base 64 encoded public key to authenticate with the device.

Returns:

the encodedValidationCertPubKey value.

fromJson

public static DataBoxHeavySecret fromJson(JsonReader jsonReader)

Reads an instance of DataBoxHeavySecret from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DataBoxHeavySecret.

networkConfigurations

public List<ApplianceNetworkConfiguration> networkConfigurations()

Get the networkConfigurations property: Network configuration of the appliance.

Returns:

the networkConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to