次の方法で共有


DataAccountDetails Class

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

Implements

public class DataAccountDetails
implements JsonSerializable<DataAccountDetails>

Account details of the data to be transferred.

Constructor Summary

Constructor Description
DataAccountDetails()

Creates an instance of DataAccountDetails class.

Method Summary

Modifier and Type Method and Description
DataAccountType dataAccountType()

Get the dataAccountType property: Account Type of the data to be transferred.

static DataAccountDetails fromJson(JsonReader jsonReader)

Reads an instance of DataAccountDetails from the JsonReader.

String sharePassword()

Get the sharePassword property: Password for all the shares to be created on the device.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataAccountDetails withSharePassword(String sharePassword)

Set the sharePassword property: Password for all the shares to be created on the device.

Methods inherited from java.lang.Object

Constructor Details

DataAccountDetails

public DataAccountDetails()

Creates an instance of DataAccountDetails class.

Method Details

dataAccountType

public DataAccountType dataAccountType()

Get the dataAccountType property: Account Type of the data to be transferred.

Returns:

the dataAccountType value.

fromJson

public static DataAccountDetails fromJson(JsonReader jsonReader)

Reads an instance of DataAccountDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

sharePassword

public String sharePassword()

Get the sharePassword property: Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.

Returns:

the sharePassword value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSharePassword

public DataAccountDetails withSharePassword(String sharePassword)

Set the sharePassword property: Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.

Parameters:

sharePassword - the sharePassword value to set.

Returns:

the DataAccountDetails object itself.

Applies to