DataBoxCustomerDiskJobDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. JobDetails - com.
azure. resourcemanager. databox. models. DataBoxCustomerDiskJobDetails
- com.
- com.
public final class DataBoxCustomerDiskJobDetails
extends JobDetails
Customer disk job details.
Constructor Summary
| Constructor | Description |
|---|---|
| DataBoxCustomerDiskJobDetails() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Data |
copyProgress()
Get the copy |
|
Package |
deliverToDcPackageDetails()
Get the deliver |
| Boolean |
enableManifestBackup()
Get the enable |
|
Map<String,Export |
exportDiskDetailsCollection()
Get the export |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
|
Map<String,Import |
importDiskDetailsCollection()
Get the import |
|
Class |
jobDetailsType()
Get the job |
|
Package |
returnToCustomerPackageDetails()
Get the return |
|
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 |
withEnableManifestBackup(Boolean enableManifestBackup)
Set the enable |
|
Data |
withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)
Set the expected |
|
Data |
withImportDiskDetailsCollection(Map<String,ImportDiskDetails> importDiskDetailsCollection)
Set the import |
|
Data |
withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the key |
|
Data |
withPreferences(Preferences preferences)
Set the preferences property: Preferences for the order. |
|
Data |
withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)
Set the return |
|
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
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:
deliverToDcPackageDetails
public PackageCarrierInfo deliverToDcPackageDetails()
Get the deliverToDcPackageDetails property: Delivery package shipping details.
Returns:
enableManifestBackup
public Boolean enableManifestBackup()
Get the enableManifestBackup property: Flag to indicate if disk manifest should be backed-up in the Storage Account.
Returns:
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:
fromJson
public static DataBoxCustomerDiskJobDetails fromJson(JsonReader jsonReader)
Reads an instance of DataBoxCustomerDiskJobDetails from the JsonReader.
Parameters:
Returns:
Throws:
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:
jobDetailsType
public ClassDiscriminator jobDetailsType()
Get the jobDetailsType property: Indicates the type of job details.
Overrides:
DataBoxCustomerDiskJobDetails.jobDetailsType()Returns:
returnToCustomerPackageDetails
public PackageCarrierDetails returnToCustomerPackageDetails()
Get the returnToCustomerPackageDetails property: Return package shipping details.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataBoxCustomerDiskJobDetails.toJson(JsonWriter jsonWriter)Parameters:
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:
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:
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:
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:
Returns:
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:
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:
Returns:
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:
withPreferences
public DataBoxCustomerDiskJobDetails withPreferences(Preferences preferences)
Set the preferences property: Preferences for the order.
Overrides:
DataBoxCustomerDiskJobDetails.withPreferences(Preferences preferences)Parameters:
withReturnToCustomerPackageDetails
public DataBoxCustomerDiskJobDetails withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)
Set the returnToCustomerPackageDetails property: Return package shipping details.
Parameters:
Returns:
withReverseShippingDetails
public DataBoxCustomerDiskJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverseShippingDetails property: Optional Reverse Shipping details for order.
Overrides:
DataBoxCustomerDiskJobDetails.withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)Parameters:
withShippingAddress
public DataBoxCustomerDiskJobDetails withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping address of the customer.
Overrides:
DataBoxCustomerDiskJobDetails.withShippingAddress(ShippingAddress shippingAddress)Parameters: