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