Share via


DataExportDetails Class

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

Implements

public final class DataExportDetails
implements JsonSerializable<DataExportDetails>

Details of the data to be used for exporting data from azure.

Constructor Summary

Constructor Description
DataExportDetails()

Creates an instance of DataExportDetails class.

Method Summary

Modifier and Type Method and Description
DataAccountDetails accountDetails()

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

static DataExportDetails fromJson(JsonReader jsonReader)

Reads an instance of DataExportDetails from the JsonReader.

LogCollectionLevel logCollectionLevel()

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

JsonWriter toJson(JsonWriter jsonWriter)
TransferConfiguration transferConfiguration()

Get the transferConfiguration property: Configuration for the data transfer.

void validate()

Validates the instance.

DataExportDetails withAccountDetails(DataAccountDetails accountDetails)

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

DataExportDetails withLogCollectionLevel(LogCollectionLevel logCollectionLevel)

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

DataExportDetails withTransferConfiguration(TransferConfiguration transferConfiguration)

Set the transferConfiguration property: Configuration for the data transfer.

Methods inherited from java.lang.Object

Constructor Details

DataExportDetails

public DataExportDetails()

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

Reads an instance of DataExportDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataExportDetails 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:

transferConfiguration

public TransferConfiguration transferConfiguration()

Get the transferConfiguration property: Configuration for the data transfer.

Returns:

the transferConfiguration value.

validate

public void validate()

Validates the instance.

withAccountDetails

public DataExportDetails withAccountDetails(DataAccountDetails accountDetails)

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

Parameters:

accountDetails - the accountDetails value to set.

Returns:

the DataExportDetails object itself.

withLogCollectionLevel

public DataExportDetails withLogCollectionLevel(LogCollectionLevel logCollectionLevel)

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

Parameters:

logCollectionLevel - the logCollectionLevel value to set.

Returns:

the DataExportDetails object itself.

withTransferConfiguration

public DataExportDetails withTransferConfiguration(TransferConfiguration transferConfiguration)

Set the transferConfiguration property: Configuration for the data transfer.

Parameters:

transferConfiguration - the transferConfiguration value to set.

Returns:

the DataExportDetails object itself.

Applies to