次の方法で共有


DataBoxDiskJobDetails Class

public final class DataBoxDiskJobDetails
extends JobDetails

DataBox Disk Job Details.

Constructor Summary

Constructor Description
DataBoxDiskJobDetails()

Creates an instance of DataBoxDiskJobDetails class.

Method Summary

Modifier and Type Method and Description
List<CustomerResolutionCode> actions()

Get the actions property: Available actions on the job.

String chainOfCustodySasKey()

Get the chainOfCustodySasKey property: Shared access key to download the chain of custody logs.

List<CopyLogDetails> copyLogDetails()

Get the copyLogDetails property: List of copy log details.

List<DataBoxDiskCopyProgress> copyProgress()

Get the copyProgress property: Copy progress per disk.

DatacenterAddressResponse datacenterAddress()

Get the datacenterAddress property: Datacenter address to ship to, for the given sku and storage location.

DataCenterCode dataCenterCode()

Get the dataCenterCode property: DataCenter code.

PackageShippingDetails deliveryPackage()

Get the deliveryPackage property: Delivery package shipping details.

DeviceErasureDetails deviceErasureDetails()

Get the deviceErasureDetails property: Holds device data erasure details.

Map<String,Integer> disksAndSizeDetails()

Get the disksAndSizeDetails property: Contains the map of disk serial number to the disk size being used for the job.

static DataBoxDiskJobDetails fromJson(JsonReader jsonReader)

Reads an instance of DataBoxDiskJobDetails from the JsonReader.

List<DataBoxDiskGranularCopyLogDetails> granularCopyLogDetails()

Get the granularCopyLogDetails property: Copy progress per disk.

List<DataBoxDiskGranularCopyProgress> granularCopyProgress()

Get the granularCopyProgress property: Copy progress per disk.

ClassDiscriminator jobDetailsType()

Get the jobDetailsType property: Indicates the type of job details.

List<JobStages> jobStages()

Get the jobStages property: List of stages that run in the job.

LastMitigationActionOnJob lastMitigationActionOnJob()

Get the lastMitigationActionOnJob property: Last mitigation action performed on the job.

String passkey()

Get the passkey property: User entered passkey for DataBox Disk job.

Map<String,Integer> preferredDisks()

Get the preferredDisks property: User preference on what size disks are needed for the job.

PackageShippingDetails returnPackage()

Get the returnPackage property: Return package shipping details.

String reverseShipmentLabelSasKey()

Get the reverseShipmentLabelSasKey property: Shared access key to download the return shipment label.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataBoxDiskJobDetails withContactDetails(ContactDetails contactDetails)

Set the contactDetails property: Contact details for notification and shipping.

DataBoxDiskJobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)

Set the dataExportDetails property: Details of the data to be exported from azure.

DataBoxDiskJobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)

Set the dataImportDetails property: Details of the data to be imported into azure.

DataBoxDiskJobDetails withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)

Set the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.

DataBoxDiskJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

Set the keyEncryptionKey property: Details about which key encryption type is being used.

DataBoxDiskJobDetails withPasskey(String passkey)

Set the passkey property: User entered passkey for DataBox Disk job.

DataBoxDiskJobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences for the order.

DataBoxDiskJobDetails withPreferredDisks(Map<String,Integer> preferredDisks)

Set the preferredDisks property: User preference on what size disks are needed for the job.

DataBoxDiskJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

Set the reverseShippingDetails property: Optional Reverse Shipping details for order.

DataBoxDiskJobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

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:

the actions value.

chainOfCustodySasKey

public String chainOfCustodySasKey()

Get the chainOfCustodySasKey property: Shared access key to download the chain of custody logs.

Overrides:

DataBoxDiskJobDetails.chainOfCustodySasKey()

Returns:

the chainOfCustodySasKey value.

copyLogDetails

public List<CopyLogDetails> copyLogDetails()

Get the copyLogDetails property: List of copy log details.

Overrides:

DataBoxDiskJobDetails.copyLogDetails()

Returns:

the copyLogDetails value.

copyProgress

public List<DataBoxDiskCopyProgress> copyProgress()

Get the copyProgress property: Copy progress per disk.

Returns:

the copyProgress value.

datacenterAddress

public DatacenterAddressResponse datacenterAddress()

Get the datacenterAddress property: Datacenter address to ship to, for the given sku and storage location.

Overrides:

DataBoxDiskJobDetails.datacenterAddress()

Returns:

the datacenterAddress value.

dataCenterCode

public DataCenterCode dataCenterCode()

Get the dataCenterCode property: DataCenter code.

Overrides:

DataBoxDiskJobDetails.dataCenterCode()

Returns:

the dataCenterCode value.

deliveryPackage

public PackageShippingDetails deliveryPackage()

Get the deliveryPackage property: Delivery package shipping details.

Overrides:

DataBoxDiskJobDetails.deliveryPackage()

Returns:

the deliveryPackage value.

deviceErasureDetails

public DeviceErasureDetails deviceErasureDetails()

Get the deviceErasureDetails property: Holds device data erasure details.

Overrides:

DataBoxDiskJobDetails.deviceErasureDetails()

Returns:

the deviceErasureDetails 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.

fromJson

public static DataBoxDiskJobDetails fromJson(JsonReader jsonReader)

Reads an instance of DataBoxDiskJobDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataBoxDiskJobDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

granularCopyLogDetails

public List<DataBoxDiskGranularCopyLogDetails> granularCopyLogDetails()

Get the granularCopyLogDetails property: Copy progress per disk.

Returns:

the granularCopyLogDetails value.

granularCopyProgress

public List<DataBoxDiskGranularCopyProgress> granularCopyProgress()

Get the granularCopyProgress property: Copy progress per disk.

Returns:

the granularCopyProgress value.

jobDetailsType

public ClassDiscriminator jobDetailsType()

Get the jobDetailsType property: Indicates the type of job details.

Overrides:

DataBoxDiskJobDetails.jobDetailsType()

Returns:

the jobDetailsType value.

jobStages

public List<JobStages> jobStages()

Get the jobStages property: List of stages that run in the job.

Overrides:

DataBoxDiskJobDetails.jobStages()

Returns:

the jobStages value.

lastMitigationActionOnJob

public LastMitigationActionOnJob lastMitigationActionOnJob()

Get the lastMitigationActionOnJob property: Last mitigation action performed on the job.

Overrides:

DataBoxDiskJobDetails.lastMitigationActionOnJob()

Returns:

the lastMitigationActionOnJob value.

passkey

public String passkey()

Get the passkey property: User entered passkey for DataBox Disk job.

Returns:

the passkey value.

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.

returnPackage

public PackageShippingDetails returnPackage()

Get the returnPackage property: Return package shipping details.

Overrides:

DataBoxDiskJobDetails.returnPackage()

Returns:

the returnPackage value.

reverseShipmentLabelSasKey

public String reverseShipmentLabelSasKey()

Get the reverseShipmentLabelSasKey property: Shared access key to download the return shipment label.

Overrides:

DataBoxDiskJobDetails.reverseShipmentLabelSasKey()

Returns:

the reverseShipmentLabelSasKey value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataBoxDiskJobDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

contactDetails

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:

dataExportDetails

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:

dataImportDetails

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:

expectedDataSizeInTeraBytes

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:

keyEncryptionKey

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.

withPreferences

public DataBoxDiskJobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences for the order.

Overrides:

DataBoxDiskJobDetails.withPreferences(Preferences preferences)

Parameters:

preferences

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.

withReverseShippingDetails

public DataBoxDiskJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

Set the reverseShippingDetails property: Optional Reverse Shipping details for order.

Overrides:

DataBoxDiskJobDetails.withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

Parameters:

reverseShippingDetails

withShippingAddress

public DataBoxDiskJobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

Overrides:

DataBoxDiskJobDetails.withShippingAddress(ShippingAddress shippingAddress)

Parameters:

shippingAddress

Applies to