Class DataTransferDetailsValidationRequest
java.lang.Object
com.azure.resourcemanager.databox.models.ValidationInputRequest
com.azure.resourcemanager.databox.models.DataTransferDetailsValidationRequest
Request to validate export and import data details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DataTransferDetailsValidationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dataExportDetails property: List of DataTransfer details to be used to export data from azure.Get the dataImportDetails property: List of DataTransfer details to be used to import data to azure.Get the deviceType property: Device type.Get the transferType property: Type of the transfer.void
validate()
Validates the instance.withDataExportDetails
(List<DataExportDetails> dataExportDetails) Set the dataExportDetails property: List of DataTransfer details to be used to export data from azure.withDataImportDetails
(List<DataImportDetails> dataImportDetails) Set the dataImportDetails property: List of DataTransfer details to be used to import data to azure.withDeviceType
(SkuName deviceType) Set the deviceType property: Device type.withTransferType
(TransferType transferType) Set the transferType property: Type of the transfer.
-
Constructor Details
-
DataTransferDetailsValidationRequest
public DataTransferDetailsValidationRequest()Creates an instance of DataTransferDetailsValidationRequest class.
-
-
Method Details
-
dataExportDetails
Get the dataExportDetails property: List of DataTransfer details to be used to export data from azure.- Returns:
- the dataExportDetails 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.
-
dataImportDetails
Get the dataImportDetails property: List of DataTransfer details to be used to import data to azure.- Returns:
- the dataImportDetails value.
-
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.
-
deviceType
Get the deviceType property: Device type.- Returns:
- the deviceType value.
-
withDeviceType
Set the deviceType property: Device type.- Parameters:
deviceType
- the deviceType value to set.- Returns:
- the DataTransferDetailsValidationRequest object itself.
-
transferType
Get the transferType property: Type of the transfer.- Returns:
- the transferType value.
-
withTransferType
Set the transferType property: Type of the transfer.- Parameters:
transferType
- the transferType value to set.- Returns:
- the DataTransferDetailsValidationRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classValidationInputRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-