Class DataTransferDetailsValidationRequest

java.lang.Object
com.azure.resourcemanager.databox.models.ValidationInputRequest
com.azure.resourcemanager.databox.models.DataTransferDetailsValidationRequest

public final class DataTransferDetailsValidationRequest extends ValidationInputRequest
Request to validate export and import data details.
  • 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.
    • 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

      public List<DataImportDetails> 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

      public SkuName deviceType()
      Get the deviceType property: Device type.
      Returns:
      the deviceType value.
    • withDeviceType

      public DataTransferDetailsValidationRequest withDeviceType(SkuName deviceType)
      Set the deviceType property: Device type.
      Parameters:
      deviceType - the deviceType value to set.
      Returns:
      the DataTransferDetailsValidationRequest object itself.
    • transferType

      public TransferType transferType()
      Get the transferType property: Type of the transfer.
      Returns:
      the transferType value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ValidationInputRequest
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.