DataBoxDiskJobDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. JobDetails - com.
azure. resourcemanager. databox. models. DataBoxDiskJobDetails
- com.
- com.
public final class DataBoxDiskJobDetails
extends JobDetails
DataBox Disk Job Details.
Constructor Summary
| Constructor | Description |
|---|---|
| DataBoxDiskJobDetails() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Customer |
actions()
Get the actions property: Available actions on the job. |
| String |
chainOfCustodySasKey()
Get the chain |
|
List<Copy |
copyLogDetails()
Get the copy |
|
List<Data |
copyProgress()
Get the copy |
|
Datacenter |
datacenterAddress()
Get the datacenter |
|
Data |
dataCenterCode()
Get the data |
|
Package |
deliveryPackage()
Get the delivery |
|
Device |
deviceErasureDetails()
Get the device |
| Map<String,Integer> |
disksAndSizeDetails()
Get the disks |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
|
List<Data |
granularCopyLogDetails()
Get the granular |
|
List<Data |
granularCopyProgress()
Get the granular |
|
Class |
jobDetailsType()
Get the job |
|
List<Job |
jobStages()
Get the job |
|
Last |
lastMitigationActionOnJob()
Get the last |
| String |
passkey()
Get the passkey property: User entered passkey for Data |
| Map<String,Integer> |
preferredDisks()
Get the preferred |
|
Package |
returnPackage()
Get the return |
| String |
reverseShipmentLabelSasKey()
Get the reverse |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Data |
withContactDetails(ContactDetails contactDetails)
Set the contact |
|
Data |
withDataExportDetails(List<DataExportDetails> dataExportDetails)
Set the data |
|
Data |
withDataImportDetails(List<DataImportDetails> dataImportDetails)
Set the data |
|
Data |
withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)
Set the expected |
|
Data |
withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the key |
|
Data |
withPasskey(String passkey)
Set the passkey property: User entered passkey for Data |
|
Data |
withPreferences(Preferences preferences)
Set the preferences property: Preferences for the order. |
|
Data |
withPreferredDisks(Map<String,Integer> preferredDisks)
Set the preferred |
|
Data |
withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverse |
|
Data |
withShippingAddress(ShippingAddress shippingAddress)
Set the shipping |
Methods inherited from JobDetails
Methods inherited from java.lang.Object
Constructor Details
DataBoxDiskJobDetails
public DataBoxDiskJobDetails()
Creates an instance of DataBoxDiskJobDetails class.
Method Details
actions
public List<CustomerResolutionCode> actions()
Get the actions property: Available actions on the job.
Overrides:
DataBoxDiskJobDetails.actions()Returns:
chainOfCustodySasKey
public String chainOfCustodySasKey()
Get the chainOfCustodySasKey property: Shared access key to download the chain of custody logs.
Overrides:
DataBoxDiskJobDetails.chainOfCustodySasKey()Returns:
copyLogDetails
public List<CopyLogDetails> copyLogDetails()
Get the copyLogDetails property: List of copy log details.
Overrides:
DataBoxDiskJobDetails.copyLogDetails()Returns:
copyProgress
public List<DataBoxDiskCopyProgress> copyProgress()
Get the copyProgress property: Copy progress per disk.
Returns:
datacenterAddress
public DatacenterAddressResponse datacenterAddress()
Get the datacenterAddress property: Datacenter address to ship to, for the given sku and storage location.
Overrides:
DataBoxDiskJobDetails.datacenterAddress()Returns:
dataCenterCode
public DataCenterCode dataCenterCode()
Get the dataCenterCode property: DataCenter code.
Overrides:
DataBoxDiskJobDetails.dataCenterCode()Returns:
deliveryPackage
public PackageShippingDetails deliveryPackage()
Get the deliveryPackage property: Delivery package shipping details.
Overrides:
DataBoxDiskJobDetails.deliveryPackage()Returns:
deviceErasureDetails
public DeviceErasureDetails deviceErasureDetails()
Get the deviceErasureDetails property: Holds device data erasure details.
Overrides:
DataBoxDiskJobDetails.deviceErasureDetails()Returns:
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:
fromJson
public static DataBoxDiskJobDetails fromJson(JsonReader jsonReader)
Reads an instance of DataBoxDiskJobDetails from the JsonReader.
Parameters:
Returns:
Throws:
granularCopyLogDetails
public List<DataBoxDiskGranularCopyLogDetails> granularCopyLogDetails()
Get the granularCopyLogDetails property: Copy progress per disk.
Returns:
granularCopyProgress
public List<DataBoxDiskGranularCopyProgress> granularCopyProgress()
Get the granularCopyProgress property: Copy progress per disk.
Returns:
jobDetailsType
public ClassDiscriminator jobDetailsType()
Get the jobDetailsType property: Indicates the type of job details.
Overrides:
DataBoxDiskJobDetails.jobDetailsType()Returns:
jobStages
public List<JobStages> jobStages()
Get the jobStages property: List of stages that run in the job.
Overrides:
DataBoxDiskJobDetails.jobStages()Returns:
lastMitigationActionOnJob
public LastMitigationActionOnJob lastMitigationActionOnJob()
Get the lastMitigationActionOnJob property: Last mitigation action performed on the job.
Overrides:
DataBoxDiskJobDetails.lastMitigationActionOnJob()Returns:
passkey
public String passkey()
Get the passkey property: User entered passkey for DataBox Disk job.
Returns:
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:
returnPackage
public PackageShippingDetails returnPackage()
Get the returnPackage property: Return package shipping details.
Overrides:
DataBoxDiskJobDetails.returnPackage()Returns:
reverseShipmentLabelSasKey
public String reverseShipmentLabelSasKey()
Get the reverseShipmentLabelSasKey property: Shared access key to download the return shipment label.
Overrides:
DataBoxDiskJobDetails.reverseShipmentLabelSasKey()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataBoxDiskJobDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DataBoxDiskJobDetails.validate()withContactDetails
public DataBoxDiskJobDetails withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for notification and shipping.
Overrides:
DataBoxDiskJobDetails.withContactDetails(ContactDetails contactDetails)Parameters:
withDataExportDetails
public DataBoxDiskJobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)
Set the dataExportDetails property: Details of the data to be exported from azure.
Overrides:
DataBoxDiskJobDetails.withDataExportDetails(List<DataExportDetails> dataExportDetails)Parameters:
withDataImportDetails
public DataBoxDiskJobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)
Set the dataImportDetails property: Details of the data to be imported into azure.
Overrides:
DataBoxDiskJobDetails.withDataImportDetails(List<DataImportDetails> dataImportDetails)Parameters:
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:
DataBoxDiskJobDetails.withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)Parameters:
withKeyEncryptionKey
public DataBoxDiskJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the keyEncryptionKey property: Details about which key encryption type is being used.
Overrides:
DataBoxDiskJobDetails.withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)Parameters:
withPasskey
public DataBoxDiskJobDetails withPasskey(String passkey)
Set the passkey property: User entered passkey for DataBox Disk job.
Parameters:
Returns:
withPreferences
public DataBoxDiskJobDetails withPreferences(Preferences preferences)
Set the preferences property: Preferences for the order.
Overrides:
DataBoxDiskJobDetails.withPreferences(Preferences preferences)Parameters:
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:
Returns:
withReverseShippingDetails
public DataBoxDiskJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverseShippingDetails property: Optional Reverse Shipping details for order.
Overrides:
DataBoxDiskJobDetails.withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)Parameters:
withShippingAddress
public DataBoxDiskJobDetails withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping address of the customer.
Overrides:
DataBoxDiskJobDetails.withShippingAddress(ShippingAddress shippingAddress)Parameters: