JobProperties Class
- java.
lang. Object - com.
azure. resourcemanager. databox. fluent. models. JobProperties
- com.
Implements
public final class JobProperties
implements JsonSerializable<JobProperties>
Job Properties.
Constructor Summary
| Constructor | Description |
|---|---|
| JobProperties() |
Creates an instance of Job |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
cancellationReason()
Get the cancellation |
|
Job |
deliveryInfo()
Get the delivery |
|
Job |
deliveryType()
Get the delivery |
|
Job |
details()
Get the details property: Details of a job run. |
|
Cloud |
error()
Get the error property: Top level error for the job. |
|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
| Boolean |
isCancellable()
Get the is |
| Boolean |
isCancellableWithoutFee()
Get the is |
| Boolean |
isDeletable()
Get the is |
| Boolean |
isPrepareToShipEnabled()
Get the is |
| Boolean |
isShippingAddressEditable()
Get the is |
|
Reverse |
reverseShippingDetailsUpdate()
Get the reverse |
|
Reverse |
reverseTransportPreferenceUpdate()
Get the reverse |
|
Offset |
startTime()
Get the start |
|
Stage |
status()
Get the status property: Name of the stage which is in progress. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Transfer |
transferType()
Get the transfer |
| void |
validate()
Validates the instance. |
|
Job |
withDeliveryInfo(JobDeliveryInfo deliveryInfo)
Set the delivery |
|
Job |
withDeliveryType(JobDeliveryType deliveryType)
Set the delivery |
|
Job |
withDetails(JobDetails details)
Set the details property: Details of a job run. |
|
Job |
withTransferType(TransferType transferType)
Set the transfer |
Methods inherited from java.lang.Object
Constructor Details
JobProperties
public JobProperties()
Creates an instance of JobProperties class.
Method Details
cancellationReason
public String cancellationReason()
Get the cancellationReason property: Reason for cancellation.
Returns:
deliveryInfo
public JobDeliveryInfo deliveryInfo()
Get the deliveryInfo property: Delivery Info of Job.
Returns:
deliveryType
public JobDeliveryType deliveryType()
Get the deliveryType property: Delivery type of Job.
Returns:
details
public JobDetails details()
Get the details property: Details of a job run. This field will only be sent for expand details filter.
Returns:
error
public CloudError error()
Get the error property: Top level error for the job.
Returns:
fromJson
public static JobProperties fromJson(JsonReader jsonReader)
Reads an instance of JobProperties from the JsonReader.
Parameters:
Returns:
Throws:
isCancellable
public Boolean isCancellable()
Get the isCancellable property: Describes whether the job is cancellable or not.
Returns:
isCancellableWithoutFee
public Boolean isCancellableWithoutFee()
Get the isCancellableWithoutFee property: Flag to indicate cancellation of scheduled job.
Returns:
isDeletable
public Boolean isDeletable()
Get the isDeletable property: Describes whether the job is deletable or not.
Returns:
isPrepareToShipEnabled
public Boolean isPrepareToShipEnabled()
Get the isPrepareToShipEnabled property: Is Prepare To Ship Enabled on this job.
Returns:
isShippingAddressEditable
public Boolean isShippingAddressEditable()
Get the isShippingAddressEditable property: Describes whether the shipping address is editable or not.
Returns:
reverseShippingDetailsUpdate
public ReverseShippingDetailsEditStatus reverseShippingDetailsUpdate()
Get the reverseShippingDetailsUpdate property: The Editable status for Reverse Shipping Address and Contact Info.
Returns:
reverseTransportPreferenceUpdate
public ReverseTransportPreferenceEditStatus reverseTransportPreferenceUpdate()
Get the reverseTransportPreferenceUpdate property: The Editable status for Reverse Transport preferences.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Time at which the job was started in UTC ISO 8601 format.
Returns:
status
public StageName status()
Get the status property: Name of the stage which is in progress.
Returns:
toJson
transferType
public TransferType transferType()
Get the transferType property: Type of the data transfer.
Returns:
validate
public void validate()
Validates the instance.
withDeliveryInfo
public JobProperties withDeliveryInfo(JobDeliveryInfo deliveryInfo)
Set the deliveryInfo property: Delivery Info of Job.
Parameters:
Returns:
withDeliveryType
public JobProperties withDeliveryType(JobDeliveryType deliveryType)
Set the deliveryType property: Delivery type of Job.
Parameters:
Returns:
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:
Returns:
withTransferType
public JobProperties withTransferType(TransferType transferType)
Set the transferType property: Type of the data transfer.
Parameters:
Returns: