次の方法で共有


DataImportDetails Class

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

Implements

public final class DataImportDetails
implements JsonSerializable<DataImportDetails>

Details of the data to be used for importing data to azure.

Constructor Summary

Constructor Description
DataImportDetails()

Creates an instance of DataImportDetails class.

Method Summary

Modifier and Type Method and Description
DataAccountDetails accountDetails()

Get the accountDetails property: Account details of the data to be transferred.

static DataImportDetails fromJson(JsonReader jsonReader)

Reads an instance of DataImportDetails from the JsonReader.

LogCollectionLevel logCollectionLevel()

Get the logCollectionLevel property: Level of the logs to be collected.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataImportDetails withAccountDetails(DataAccountDetails accountDetails)

Set the accountDetails property: Account details of the data to be transferred.

DataImportDetails withLogCollectionLevel(LogCollectionLevel logCollectionLevel)

Set the logCollectionLevel property: Level of the logs to be collected.

Methods inherited from java.lang.Object

Constructor Details

DataImportDetails

public DataImportDetails()

Creates an instance of DataImportDetails class.

Method Details

accountDetails

public DataAccountDetails accountDetails()

Get the accountDetails property: Account details of the data to be transferred.

Returns:

the accountDetails value.

fromJson

public static DataImportDetails fromJson(JsonReader jsonReader)

Reads an instance of DataImportDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

logCollectionLevel

public LogCollectionLevel logCollectionLevel()

Get the logCollectionLevel property: Level of the logs to be collected.

Returns:

the logCollectionLevel value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAccountDetails

public DataImportDetails withAccountDetails(DataAccountDetails accountDetails)

Set the accountDetails property: Account details of the data to be transferred.

Parameters:

accountDetails - the accountDetails value to set.

Returns:

the DataImportDetails object itself.

withLogCollectionLevel

public DataImportDetails withLogCollectionLevel(LogCollectionLevel logCollectionLevel)

Set the logCollectionLevel property: Level of the logs to be collected.

Parameters:

logCollectionLevel - the logCollectionLevel value to set.

Returns:

the DataImportDetails object itself.

Applies to