Share via


DataTransferDetailsValidationRequest Class

public final class DataTransferDetailsValidationRequest
extends ValidationInputRequest

Request to validate export and import data details.

Constructor Summary

Constructor Description
DataTransferDetailsValidationRequest()

Creates an instance of DataTransferDetailsValidationRequest class.

Method Summary

Modifier and Type Method and Description
List<DataExportDetails> dataExportDetails()

Get the dataExportDetails property: List of DataTransfer details to be used to export data from azure.

List<DataImportDetails> dataImportDetails()

Get the dataImportDetails property: List of DataTransfer details to be used to import data to azure.

SkuName deviceType()

Get the deviceType property: Device type.

static DataTransferDetailsValidationRequest fromJson(JsonReader jsonReader)

Reads an instance of DataTransferDetailsValidationRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
TransferType transferType()

Get the transferType property: Type of the transfer.

void validate()

Validates the instance.

ValidationInputDiscriminator validationType()

Get the validationType property: Identifies the type of validation request.

DataTransferDetailsValidationRequest withDataExportDetails(List<DataExportDetails> dataExportDetails)

Set the dataExportDetails property: List of DataTransfer details to be used to export data from azure.

DataTransferDetailsValidationRequest withDataImportDetails(List<DataImportDetails> dataImportDetails)

Set the dataImportDetails property: List of DataTransfer details to be used to import data to azure.

DataTransferDetailsValidationRequest withDeviceType(SkuName deviceType)

Set the deviceType property: Device type.

DataTransferDetailsValidationRequest withTransferType(TransferType transferType)

Set the transferType property: Type of the transfer.

Methods inherited from ValidationInputRequest

Methods inherited from java.lang.Object

Constructor Details

DataTransferDetailsValidationRequest

public DataTransferDetailsValidationRequest()

Creates an instance of DataTransferDetailsValidationRequest class.

Method Details

dataExportDetails

public List<DataExportDetails> dataExportDetails()

Get the dataExportDetails property: List of DataTransfer details to be used to export data from azure.

Returns:

the dataExportDetails value.

dataImportDetails

public List<DataImportDetails> dataImportDetails()

Get the dataImportDetails property: List of DataTransfer details to be used to import data to azure.

Returns:

the dataImportDetails value.

deviceType

public SkuName deviceType()

Get the deviceType property: Device type.

Returns:

the deviceType value.

fromJson

public static DataTransferDetailsValidationRequest fromJson(JsonReader jsonReader)

Reads an instance of DataTransferDetailsValidationRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataTransferDetailsValidationRequest.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transferType

public TransferType transferType()

Get the transferType property: Type of the transfer.

Returns:

the transferType value.

validate

public void validate()

Validates the instance.

Overrides:

DataTransferDetailsValidationRequest.validate()

validationType

public ValidationInputDiscriminator validationType()

Get the validationType property: Identifies the type of validation request.

Overrides:

DataTransferDetailsValidationRequest.validationType()

Returns:

the validationType value.

withDataExportDetails

public DataTransferDetailsValidationRequest withDataExportDetails(List<DataExportDetails> dataExportDetails)

Set the dataExportDetails property: List of DataTransfer details to be used to export data from azure.

Parameters:

dataExportDetails - the dataExportDetails value to set.

Returns:

the DataTransferDetailsValidationRequest object itself.

withDataImportDetails

public DataTransferDetailsValidationRequest withDataImportDetails(List<DataImportDetails> dataImportDetails)

Set the dataImportDetails property: List of DataTransfer details to be used to import data to azure.

Parameters:

dataImportDetails - the dataImportDetails value to set.

Returns:

the DataTransferDetailsValidationRequest object itself.

withDeviceType

public DataTransferDetailsValidationRequest withDeviceType(SkuName deviceType)

Set the deviceType property: Device type.

Parameters:

deviceType - the deviceType value to set.

Returns:

the DataTransferDetailsValidationRequest object itself.

withTransferType

public DataTransferDetailsValidationRequest withTransferType(TransferType transferType)

Set the transferType property: Type of the transfer.

Parameters:

transferType - the transferType value to set.

Returns:

the DataTransferDetailsValidationRequest object itself.

Applies to