Share via


DataBoxCustomerDiskJobDetails Class

public final class DataBoxCustomerDiskJobDetails
extends JobDetails

Customer disk job details.

Constructor Summary

Constructor Description
DataBoxCustomerDiskJobDetails()

Creates an instance of DataBoxCustomerDiskJobDetails class.

Method Summary

Modifier and Type Method and Description
List<DataBoxCustomerDiskCopyProgress> copyProgress()

Get the copyProgress property: Copy progress per disk.

PackageCarrierInfo deliverToDcPackageDetails()

Get the deliverToDcPackageDetails property: Delivery package shipping details.

Boolean enableManifestBackup()

Get the enableManifestBackup property: Flag to indicate if disk manifest should be backed-up in the Storage Account.

Map<String,ExportDiskDetails> exportDiskDetailsCollection()

Get the exportDiskDetailsCollection property: Contains the map of disk serial number to the disk details for export jobs.

static DataBoxCustomerDiskJobDetails fromJson(JsonReader jsonReader)

Reads an instance of DataBoxCustomerDiskJobDetails from the JsonReader.

Map<String,ImportDiskDetails> importDiskDetailsCollection()

Get the importDiskDetailsCollection property: Contains the map of disk serial number to the disk details for import jobs.

ClassDiscriminator jobDetailsType()

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

PackageCarrierDetails returnToCustomerPackageDetails()

Get the returnToCustomerPackageDetails property: Return package shipping details.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataBoxCustomerDiskJobDetails withContactDetails(ContactDetails contactDetails)

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

DataBoxCustomerDiskJobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)

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

DataBoxCustomerDiskJobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)

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

DataBoxCustomerDiskJobDetails withEnableManifestBackup(Boolean enableManifestBackup)

Set the enableManifestBackup property: Flag to indicate if disk manifest should be backed-up in the Storage Account.

DataBoxCustomerDiskJobDetails withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)

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

DataBoxCustomerDiskJobDetails withImportDiskDetailsCollection(Map<String,ImportDiskDetails> importDiskDetailsCollection)

Set the importDiskDetailsCollection property: Contains the map of disk serial number to the disk details for import jobs.

DataBoxCustomerDiskJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

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

DataBoxCustomerDiskJobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences for the order.

DataBoxCustomerDiskJobDetails withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)

Set the returnToCustomerPackageDetails property: Return package shipping details.

DataBoxCustomerDiskJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

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

DataBoxCustomerDiskJobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

Methods inherited from JobDetails

Methods inherited from java.lang.Object

Constructor Details

DataBoxCustomerDiskJobDetails

public DataBoxCustomerDiskJobDetails()

Creates an instance of DataBoxCustomerDiskJobDetails class.

Method Details

copyProgress

public List<DataBoxCustomerDiskCopyProgress> copyProgress()

Get the copyProgress property: Copy progress per disk.

Returns:

the copyProgress value.

deliverToDcPackageDetails

public PackageCarrierInfo deliverToDcPackageDetails()

Get the deliverToDcPackageDetails property: Delivery package shipping details.

Returns:

the deliverToDcPackageDetails value.

enableManifestBackup

public Boolean enableManifestBackup()

Get the enableManifestBackup property: Flag to indicate if disk manifest should be backed-up in the Storage Account.

Returns:

the enableManifestBackup value.

exportDiskDetailsCollection

public Map<String,ExportDiskDetails> exportDiskDetailsCollection()

Get the exportDiskDetailsCollection property: Contains the map of disk serial number to the disk details for export jobs.

Returns:

the exportDiskDetailsCollection value.

fromJson

public static DataBoxCustomerDiskJobDetails fromJson(JsonReader jsonReader)

Reads an instance of DataBoxCustomerDiskJobDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataBoxCustomerDiskJobDetails 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.

importDiskDetailsCollection

public Map<String,ImportDiskDetails> importDiskDetailsCollection()

Get the importDiskDetailsCollection property: Contains the map of disk serial number to the disk details for import jobs.

Returns:

the importDiskDetailsCollection value.

jobDetailsType

public ClassDiscriminator jobDetailsType()

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

Overrides:

DataBoxCustomerDiskJobDetails.jobDetailsType()

Returns:

the jobDetailsType value.

returnToCustomerPackageDetails

public PackageCarrierDetails returnToCustomerPackageDetails()

Get the returnToCustomerPackageDetails property: Return package shipping details.

Returns:

the returnToCustomerPackageDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataBoxCustomerDiskJobDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataBoxCustomerDiskJobDetails.validate()

withContactDetails

public DataBoxCustomerDiskJobDetails withContactDetails(ContactDetails contactDetails)

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

Overrides:

DataBoxCustomerDiskJobDetails.withContactDetails(ContactDetails contactDetails)

Parameters:

contactDetails

withDataExportDetails

public DataBoxCustomerDiskJobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)

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

Overrides:

DataBoxCustomerDiskJobDetails.withDataExportDetails(List<DataExportDetails> dataExportDetails)

Parameters:

dataExportDetails

withDataImportDetails

public DataBoxCustomerDiskJobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)

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

Overrides:

DataBoxCustomerDiskJobDetails.withDataImportDetails(List<DataImportDetails> dataImportDetails)

Parameters:

dataImportDetails

withEnableManifestBackup

public DataBoxCustomerDiskJobDetails withEnableManifestBackup(Boolean enableManifestBackup)

Set the enableManifestBackup property: Flag to indicate if disk manifest should be backed-up in the Storage Account.

Parameters:

enableManifestBackup - the enableManifestBackup value to set.

Returns:

the DataBoxCustomerDiskJobDetails object itself.

withExpectedDataSizeInTeraBytes

public DataBoxCustomerDiskJobDetails withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)

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

Overrides:

DataBoxCustomerDiskJobDetails.withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)

Parameters:

expectedDataSizeInTeraBytes

withImportDiskDetailsCollection

public DataBoxCustomerDiskJobDetails withImportDiskDetailsCollection(Map<String,ImportDiskDetails> importDiskDetailsCollection)

Set the importDiskDetailsCollection property: Contains the map of disk serial number to the disk details for import jobs.

Parameters:

importDiskDetailsCollection - the importDiskDetailsCollection value to set.

Returns:

the DataBoxCustomerDiskJobDetails object itself.

withKeyEncryptionKey

public DataBoxCustomerDiskJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

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

Overrides:

DataBoxCustomerDiskJobDetails.withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

Parameters:

keyEncryptionKey

withPreferences

public DataBoxCustomerDiskJobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences for the order.

Overrides:

DataBoxCustomerDiskJobDetails.withPreferences(Preferences preferences)

Parameters:

preferences

withReturnToCustomerPackageDetails

public DataBoxCustomerDiskJobDetails withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)

Set the returnToCustomerPackageDetails property: Return package shipping details.

Parameters:

returnToCustomerPackageDetails - the returnToCustomerPackageDetails value to set.

Returns:

the DataBoxCustomerDiskJobDetails object itself.

withReverseShippingDetails

public DataBoxCustomerDiskJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

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

Overrides:

DataBoxCustomerDiskJobDetails.withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

Parameters:

reverseShippingDetails

withShippingAddress

public DataBoxCustomerDiskJobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

Overrides:

DataBoxCustomerDiskJobDetails.withShippingAddress(ShippingAddress shippingAddress)

Parameters:

shippingAddress

Applies to