Class DataBoxHeavyJobDetails

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

public final class DataBoxHeavyJobDetails extends JobDetails
Databox Heavy Device Job Details.
  • Constructor Details

    • DataBoxHeavyJobDetails

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

    • copyProgress

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

      public String devicePassword()
      Get the devicePassword property: Set Device password for unlocking Databox Heavy. 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 DataBoxHeavyJobDetails withDevicePassword(String devicePassword)
      Set the devicePassword property: Set Device password for unlocking Databox Heavy. 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 DataBoxHeavyJobDetails object itself.
    • withContactDetails

      public DataBoxHeavyJobDetails 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 DataBoxHeavyJobDetails 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 DataBoxHeavyJobDetails 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 DataBoxHeavyJobDetails 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 DataBoxHeavyJobDetails 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 DataBoxHeavyJobDetails 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 DataBoxHeavyJobDetails 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.