次の方法で共有


JobDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.JobDetails

Implements

public class JobDetails
implements JsonSerializable<JobDetails>

Job details.

Constructor Summary

Constructor Description
JobDetails()

Creates an instance of JobDetails 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.

ContactDetails contactDetails()

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

List<CopyLogDetails> copyLogDetails()

Get the copyLogDetails property: List of copy log details.

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.

List<DataExportDetails> dataExportDetails()

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

List<DataImportDetails> dataImportDetails()

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

PackageShippingDetails deliveryPackage()

Get the deliveryPackage property: Delivery package shipping details.

DeviceErasureDetails deviceErasureDetails()

Get the deviceErasureDetails property: Holds device data erasure details.

Integer expectedDataSizeInTeraBytes()

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

static JobDetails fromJson(JsonReader jsonReader)

Reads an instance of JobDetails from the JsonReader.

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.

KeyEncryptionKey keyEncryptionKey()

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

LastMitigationActionOnJob lastMitigationActionOnJob()

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

Preferences preferences()

Get the preferences property: Preferences for the order.

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.

ReverseShippingDetails reverseShippingDetails()

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

ShippingAddress shippingAddress()

Get the shippingAddress property: Shipping address of the customer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

JobDetails withContactDetails(ContactDetails contactDetails)

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

JobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)

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

JobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)

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

JobDetails withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)

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

JobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

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

JobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences for the order.

JobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

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

JobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

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:

the actions value.

chainOfCustodySasKey

public String chainOfCustodySasKey()

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

Returns:

the chainOfCustodySasKey value.

contactDetails

public ContactDetails contactDetails()

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

Returns:

the contactDetails value.

copyLogDetails

public List<CopyLogDetails> copyLogDetails()

Get the copyLogDetails property: List of copy log details.

Returns:

the copyLogDetails value.

datacenterAddress

public DatacenterAddressResponse datacenterAddress()

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

Returns:

the datacenterAddress value.

dataCenterCode

public DataCenterCode dataCenterCode()

Get the dataCenterCode property: DataCenter code.

Returns:

the dataCenterCode value.

dataExportDetails

public List<DataExportDetails> dataExportDetails()

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

Returns:

the dataExportDetails value.

dataImportDetails

public List<DataImportDetails> dataImportDetails()

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

Returns:

the dataImportDetails value.

deliveryPackage

public PackageShippingDetails deliveryPackage()

Get the deliveryPackage property: Delivery package shipping details.

Returns:

the deliveryPackage value.

deviceErasureDetails

public DeviceErasureDetails deviceErasureDetails()

Get the deviceErasureDetails property: Holds device data erasure details.

Returns:

the deviceErasureDetails value.

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:

the expectedDataSizeInTeraBytes value.

fromJson

public static JobDetails fromJson(JsonReader jsonReader)

Reads an instance of JobDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

jobDetailsType

public ClassDiscriminator jobDetailsType()

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

Returns:

the jobDetailsType value.

jobStages

public List<JobStages> jobStages()

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

Returns:

the jobStages value.

keyEncryptionKey

public KeyEncryptionKey keyEncryptionKey()

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

Returns:

the keyEncryptionKey value.

lastMitigationActionOnJob

public LastMitigationActionOnJob lastMitigationActionOnJob()

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

Returns:

the lastMitigationActionOnJob value.

preferences

public Preferences preferences()

Get the preferences property: Preferences for the order.

Returns:

the preferences value.

returnPackage

public PackageShippingDetails returnPackage()

Get the returnPackage property: Return package shipping details.

Returns:

the returnPackage value.

reverseShipmentLabelSasKey

public String reverseShipmentLabelSasKey()

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

Returns:

the reverseShipmentLabelSasKey value.

reverseShippingDetails

public ReverseShippingDetails reverseShippingDetails()

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

Returns:

the reverseShippingDetails value.

shippingAddress

public ShippingAddress shippingAddress()

Get the shippingAddress property: Shipping address of the customer.

Returns:

the shippingAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContactDetails

public JobDetails withContactDetails(ContactDetails contactDetails)

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

Parameters:

contactDetails - the contactDetails value to set.

Returns:

the JobDetails object itself.

withDataExportDetails

public JobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)

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

Parameters:

dataExportDetails - the dataExportDetails value to set.

Returns:

the JobDetails object itself.

withDataImportDetails

public JobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)

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

Parameters:

dataImportDetails - the dataImportDetails value to set.

Returns:

the JobDetails object itself.

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:

expectedDataSizeInTeraBytes - the expectedDataSizeInTeraBytes value to set.

Returns:

the JobDetails object itself.

withKeyEncryptionKey

public JobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

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

Parameters:

keyEncryptionKey - the keyEncryptionKey value to set.

Returns:

the JobDetails object itself.

withPreferences

public JobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences for the order.

Parameters:

preferences - the preferences value to set.

Returns:

the JobDetails object itself.

withReverseShippingDetails

public JobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

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

Parameters:

reverseShippingDetails - the reverseShippingDetails value to set.

Returns:

the JobDetails object itself.

withShippingAddress

public JobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

Parameters:

shippingAddress - the shippingAddress value to set.

Returns:

the JobDetails object itself.

Applies to