Class DataBoxDiskJobDetails
java.lang.Object
com.azure.resourcemanager.databox.models.JobDetails
com.azure.resourcemanager.databox.models.DataBoxDiskJobDetails
DataBox Disk Job Details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the copyProgress property: Copy progress per disk.Get the disksAndSizeDetails property: Contains the map of disk serial number to the disk size being used for the job.passkey()
Get the passkey property: User entered passkey for DataBox Disk job.Get the preferredDisks property: User preference on what size disks are needed for the job.void
validate()
Validates the instance.withContactDetails
(ContactDetails contactDetails) Set the contactDetails property: Contact details for notification and shipping.withDataExportDetails
(List<DataExportDetails> dataExportDetails) Set the dataExportDetails property: Details of the data to be exported from azure.withDataImportDetails
(List<DataImportDetails> dataImportDetails) Set the dataImportDetails property: Details of the data to be imported into azure.withExpectedDataSizeInTeraBytes
(Integer expectedDataSizeInTeraBytes) Set the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.withKeyEncryptionKey
(KeyEncryptionKey keyEncryptionKey) Set the keyEncryptionKey property: Details about which key encryption type is being used.withPasskey
(String passkey) Set the passkey property: User entered passkey for DataBox Disk job.withPreferences
(Preferences preferences) Set the preferences property: Preferences for the order.withPreferredDisks
(Map<String, Integer> preferredDisks) Set the preferredDisks property: User preference on what size disks are needed for the job.withShippingAddress
(ShippingAddress shippingAddress) Set the shippingAddress property: Shipping address of the customer.Methods inherited from class com.azure.resourcemanager.databox.models.JobDetails
actions, chainOfCustodySasKey, contactDetails, copyLogDetails, dataExportDetails, dataImportDetails, deliveryPackage, expectedDataSizeInTeraBytes, jobStages, keyEncryptionKey, lastMitigationActionOnJob, preferences, returnPackage, reverseShipmentLabelSasKey, shippingAddress
-
Constructor Details
-
DataBoxDiskJobDetails
public DataBoxDiskJobDetails()Creates an instance of DataBoxDiskJobDetails class.
-
-
Method Details
-
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
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
Get the copyProgress property: Copy progress per disk.- Returns:
- the copyProgress value.
-
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
Get the passkey property: User entered passkey for DataBox Disk job.- Returns:
- the passkey value.
-
withPasskey
Set the passkey property: User entered passkey for DataBox Disk job.- Parameters:
passkey
- the passkey value to set.- Returns:
- the DataBoxDiskJobDetails object itself.
-
withContactDetails
Set the contactDetails property: Contact details for notification and shipping.- Overrides:
withContactDetails
in classJobDetails
- Parameters:
contactDetails
- the contactDetails value to set.- Returns:
- the JobDetails object itself.
-
withShippingAddress
Set the shippingAddress property: Shipping address of the customer.- Overrides:
withShippingAddress
in classJobDetails
- Parameters:
shippingAddress
- the shippingAddress value to set.- Returns:
- the JobDetails object itself.
-
withDataImportDetails
Set the dataImportDetails property: Details of the data to be imported into azure.- Overrides:
withDataImportDetails
in classJobDetails
- Parameters:
dataImportDetails
- the dataImportDetails value to set.- Returns:
- the JobDetails object itself.
-
withDataExportDetails
Set the dataExportDetails property: Details of the data to be exported from azure.- Overrides:
withDataExportDetails
in classJobDetails
- Parameters:
dataExportDetails
- the dataExportDetails value to set.- Returns:
- the JobDetails object itself.
-
withPreferences
Set the preferences property: Preferences for the order.- Overrides:
withPreferences
in classJobDetails
- Parameters:
preferences
- the preferences value to set.- Returns:
- the JobDetails object itself.
-
withKeyEncryptionKey
Set the keyEncryptionKey property: Details about which key encryption type is being used.- Overrides:
withKeyEncryptionKey
in classJobDetails
- Parameters:
keyEncryptionKey
- the keyEncryptionKey value to set.- Returns:
- the JobDetails object itself.
-
withExpectedDataSizeInTeraBytes
Set the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.- Overrides:
withExpectedDataSizeInTeraBytes
in classJobDetails
- Parameters:
expectedDataSizeInTeraBytes
- the expectedDataSizeInTeraBytes value to set.- Returns:
- the JobDetails object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classJobDetails
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-