java.lang.Object
com.azure.resourcemanager.databox.fluent.models.JobProperties

public final class JobProperties extends Object
Job Properties.
  • Constructor Details

    • JobProperties

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

    • transferType

      public TransferType transferType()
      Get the transferType property: Type of the data transfer.
      Returns:
      the transferType value.
    • withTransferType

      public JobProperties withTransferType(TransferType transferType)
      Set the transferType property: Type of the data transfer.
      Parameters:
      transferType - the transferType value to set.
      Returns:
      the JobProperties object itself.
    • isCancellable

      public Boolean isCancellable()
      Get the isCancellable property: Describes whether the job is cancellable or not.
      Returns:
      the isCancellable value.
    • isDeletable

      public Boolean isDeletable()
      Get the isDeletable property: Describes whether the job is deletable or not.
      Returns:
      the isDeletable value.
    • isShippingAddressEditable

      public Boolean isShippingAddressEditable()
      Get the isShippingAddressEditable property: Describes whether the shipping address is editable or not.
      Returns:
      the isShippingAddressEditable value.
    • isPrepareToShipEnabled

      public Boolean isPrepareToShipEnabled()
      Get the isPrepareToShipEnabled property: Is Prepare To Ship Enabled on this job.
      Returns:
      the isPrepareToShipEnabled value.
    • status

      public StageName status()
      Get the status property: Name of the stage which is in progress.
      Returns:
      the status value.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Time at which the job was started in UTC ISO 8601 format.
      Returns:
      the startTime value.
    • error

      public CloudError error()
      Get the error property: Top level error for the job.
      Returns:
      the error value.
    • details

      public JobDetails details()
      Get the details property: Details of a job run. This field will only be sent for expand details filter.
      Returns:
      the details value.
    • withDetails

      public JobProperties withDetails(JobDetails details)
      Set the details property: Details of a job run. This field will only be sent for expand details filter.
      Parameters:
      details - the details value to set.
      Returns:
      the JobProperties object itself.
    • cancellationReason

      public String cancellationReason()
      Get the cancellationReason property: Reason for cancellation.
      Returns:
      the cancellationReason value.
    • deliveryType

      public JobDeliveryType deliveryType()
      Get the deliveryType property: Delivery type of Job.
      Returns:
      the deliveryType value.
    • withDeliveryType

      public JobProperties withDeliveryType(JobDeliveryType deliveryType)
      Set the deliveryType property: Delivery type of Job.
      Parameters:
      deliveryType - the deliveryType value to set.
      Returns:
      the JobProperties object itself.
    • deliveryInfo

      public JobDeliveryInfo deliveryInfo()
      Get the deliveryInfo property: Delivery Info of Job.
      Returns:
      the deliveryInfo value.
    • withDeliveryInfo

      public JobProperties withDeliveryInfo(JobDeliveryInfo deliveryInfo)
      Set the deliveryInfo property: Delivery Info of Job.
      Parameters:
      deliveryInfo - the deliveryInfo value to set.
      Returns:
      the JobProperties object itself.
    • isCancellableWithoutFee

      public Boolean isCancellableWithoutFee()
      Get the isCancellableWithoutFee property: Flag to indicate cancellation of scheduled job.
      Returns:
      the isCancellableWithoutFee value.
    • validate

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