次の方法で共有


DataBoxSecret Class

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

Implements

public final class DataBoxSecret
implements JsonSerializable<DataBoxSecret>

The secrets related to a DataBox.

Constructor Summary

Constructor Description
DataBoxSecret()

Creates an instance of DataBoxSecret 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 DataBoxSecret fromJson(JsonReader jsonReader)

Reads an instance of DataBoxSecret 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

DataBoxSecret

public DataBoxSecret()

Creates an instance of DataBoxSecret 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 DataBoxSecret fromJson(JsonReader jsonReader)

Reads an instance of DataBoxSecret from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataBoxSecret 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 DataBoxSecret.

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