Class JobDetails

java.lang.Object
com.azure.resourcemanager.databox.models.JobDetails
Direct Known Subclasses:
DataBoxDiskJobDetails, DataBoxHeavyJobDetails, DataBoxJobDetails

public class JobDetails extends Object
Job details.
  • Constructor Details

    • JobDetails

      public JobDetails()
      Creates an instance of JobDetails class.
  • Method Details

    • jobStages

      public List<JobStages> jobStages()
      Get the jobStages property: List of stages that run in the job.
      Returns:
      the jobStages value.
    • contactDetails

      public ContactDetails contactDetails()
      Get the contactDetails property: Contact details for notification and shipping.
      Returns:
      the contactDetails value.
    • 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.
    • shippingAddress

      public ShippingAddress shippingAddress()
      Get the shippingAddress property: Shipping address of the customer.
      Returns:
      the shippingAddress value.
    • 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.
    • deliveryPackage

      public PackageShippingDetails deliveryPackage()
      Get the deliveryPackage property: Delivery package shipping details.
      Returns:
      the deliveryPackage value.
    • returnPackage

      public PackageShippingDetails returnPackage()
      Get the returnPackage property: Return package shipping details.
      Returns:
      the returnPackage value.
    • dataImportDetails

      public List<DataImportDetails> dataImportDetails()
      Get the dataImportDetails property: Details of the data to be imported into azure.
      Returns:
      the dataImportDetails value.
    • 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.
    • dataExportDetails

      public List<DataExportDetails> dataExportDetails()
      Get the dataExportDetails property: Details of the data to be exported from azure.
      Returns:
      the dataExportDetails value.
    • 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.
    • preferences

      public Preferences preferences()
      Get the preferences property: Preferences for the order.
      Returns:
      the preferences value.
    • 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.
    • copyLogDetails

      public List<CopyLogDetails> copyLogDetails()
      Get the copyLogDetails property: List of copy log details.
      Returns:
      the copyLogDetails value.
    • reverseShipmentLabelSasKey

      public String reverseShipmentLabelSasKey()
      Get the reverseShipmentLabelSasKey property: Shared access key to download the return shipment label.
      Returns:
      the reverseShipmentLabelSasKey value.
    • chainOfCustodySasKey

      public String chainOfCustodySasKey()
      Get the chainOfCustodySasKey property: Shared access key to download the chain of custody logs.
      Returns:
      the chainOfCustodySasKey value.
    • keyEncryptionKey

      public KeyEncryptionKey keyEncryptionKey()
      Get the keyEncryptionKey property: Details about which key encryption type is being used.
      Returns:
      the keyEncryptionKey value.
    • 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.
    • 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.
    • 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.
    • actions

      public List<CustomerResolutionCode> actions()
      Get the actions property: Available actions on the job.
      Returns:
      the actions value.
    • lastMitigationActionOnJob

      public LastMitigationActionOnJob lastMitigationActionOnJob()
      Get the lastMitigationActionOnJob property: Last mitigation action performed on the job.
      Returns:
      the lastMitigationActionOnJob value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.