Class DataBoxDiskJobDetails

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

public final class DataBoxDiskJobDetails extends JobDetails
DataBox Disk Job Details.
  • Constructor Details

    • DataBoxDiskJobDetails

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

    • preferredDisks

      public Map<String,Integer> preferredDisks()
      Get the preferredDisks property: User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int.
      Returns:
      the preferredDisks value.
    • withPreferredDisks

      public DataBoxDiskJobDetails withPreferredDisks(Map<String,Integer> preferredDisks)
      Set the preferredDisks property: User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int.
      Parameters:
      preferredDisks - the preferredDisks value to set.
      Returns:
      the DataBoxDiskJobDetails object itself.
    • copyProgress

      public List<DataBoxDiskCopyProgress> copyProgress()
      Get the copyProgress property: Copy progress per disk.
      Returns:
      the copyProgress value.
    • disksAndSizeDetails

      public Map<String,Integer> disksAndSizeDetails()
      Get the disksAndSizeDetails property: Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer.
      Returns:
      the disksAndSizeDetails value.
    • passkey

      public String passkey()
      Get the passkey property: User entered passkey for DataBox Disk job.
      Returns:
      the passkey value.
    • withPasskey

      public DataBoxDiskJobDetails withPasskey(String passkey)
      Set the passkey property: User entered passkey for DataBox Disk job.
      Parameters:
      passkey - the passkey value to set.
      Returns:
      the DataBoxDiskJobDetails object itself.
    • withContactDetails

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