Class DataBoxJobDetails

java.lang.Object
com.azure.resourcemanager.databox.models.JobDetails
com.azure.resourcemanager.databox.models.DataBoxJobDetails

public final class DataBoxJobDetails extends JobDetails
Databox Job Details.
  • Constructor Details

    • DataBoxJobDetails

      public DataBoxJobDetails()
      Creates an instance of DataBoxJobDetails class.
  • Method Details

    • copyProgress

      public List<CopyProgress> copyProgress()
      Get the copyProgress property: Copy progress per storage account.
      Returns:
      the copyProgress value.
    • devicePassword

      public String devicePassword()
      Get the devicePassword property: Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.
      Returns:
      the devicePassword value.
    • withDevicePassword

      public DataBoxJobDetails withDevicePassword(String devicePassword)
      Set the devicePassword property: Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.
      Parameters:
      devicePassword - the devicePassword value to set.
      Returns:
      the DataBoxJobDetails object itself.
    • withContactDetails

      public DataBoxJobDetails withContactDetails(ContactDetails contactDetails)
      Set the contactDetails property: Contact details for notification and shipping.
      Overrides:
      withContactDetails in class JobDetails
      Parameters:
      contactDetails - the contactDetails value to set.
      Returns:
      the JobDetails object itself.
    • withShippingAddress

      public DataBoxJobDetails withShippingAddress(ShippingAddress shippingAddress)
      Set the shippingAddress property: Shipping address of the customer.
      Overrides:
      withShippingAddress in class JobDetails
      Parameters:
      shippingAddress - the shippingAddress value to set.
      Returns:
      the JobDetails object itself.
    • withDataImportDetails

      public DataBoxJobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)
      Set the dataImportDetails property: Details of the data to be imported into azure.
      Overrides:
      withDataImportDetails in class JobDetails
      Parameters:
      dataImportDetails - the dataImportDetails value to set.
      Returns:
      the JobDetails object itself.
    • withDataExportDetails

      public DataBoxJobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)
      Set the dataExportDetails property: Details of the data to be exported from azure.
      Overrides:
      withDataExportDetails in class JobDetails
      Parameters:
      dataExportDetails - the dataExportDetails value to set.
      Returns:
      the JobDetails object itself.
    • withPreferences

      public DataBoxJobDetails withPreferences(Preferences preferences)
      Set the preferences property: Preferences for the order.
      Overrides:
      withPreferences in class JobDetails
      Parameters:
      preferences - the preferences value to set.
      Returns:
      the JobDetails object itself.
    • withKeyEncryptionKey

      public DataBoxJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
      Set the keyEncryptionKey property: Details about which key encryption type is being used.
      Overrides:
      withKeyEncryptionKey in class JobDetails
      Parameters:
      keyEncryptionKey - the keyEncryptionKey value to set.
      Returns:
      the JobDetails object itself.
    • withExpectedDataSizeInTeraBytes

      public DataBoxJobDetails withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)
      Set the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.
      Overrides:
      withExpectedDataSizeInTeraBytes in class JobDetails
      Parameters:
      expectedDataSizeInTeraBytes - the expectedDataSizeInTeraBytes value to set.
      Returns:
      the JobDetails object itself.
    • validate

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