JobResourceInner Class

public final class JobResourceInner
extends Resource

Job Resource.

Constructor Summary

Constructor Description
JobResourceInner()

Creates an instance of JobResourceInner class.

Method Summary

Modifier and Type Method and Description
String cancellationReason()

Get the cancellationReason property: Reason for cancellation.

JobDeliveryInfo deliveryInfo()

Get the deliveryInfo property: Delivery Info of Job.

JobDeliveryType deliveryType()

Get the deliveryType property: Delivery type of Job.

JobDetails details()

Get the details property: Details of a job run.

CloudError error()

Get the error property: Top level error for the job.

String id()

Get the id property: Id of the object.

ResourceIdentity identity()

Get the identity property: Msi identity of the resource.

Boolean isCancellable()

Get the isCancellable property: Describes whether the job is cancellable or not.

Boolean isCancellableWithoutFee()

Get the isCancellableWithoutFee property: Flag to indicate cancellation of scheduled job.

Boolean isDeletable()

Get the isDeletable property: Describes whether the job is deletable or not.

Boolean isPrepareToShipEnabled()

Get the isPrepareToShipEnabled property: Is Prepare To Ship Enabled on this job.

Boolean isShippingAddressEditable()

Get the isShippingAddressEditable property: Describes whether the shipping address is editable or not.

String name()

Get the name property: Name of the object.

ReverseShippingDetailsEditStatus reverseShippingDetailsUpdate()

Get the reverseShippingDetailsUpdate property: The Editable status for Reverse Shipping Address and Contact Info.

ReverseTransportPreferenceEditStatus reverseTransportPreferenceUpdate()

Get the reverseTransportPreferenceUpdate property: The Editable status for Reverse Transport preferences.

Sku sku()

Get the sku property: The sku type.

OffsetDateTime startTime()

Get the startTime property: Time at which the job was started in UTC ISO 8601 format.

StageName status()

Get the status property: Name of the stage which is in progress.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

TransferType transferType()

Get the transferType property: Type of the data transfer.

String type()

Get the type property: Type of the object.

void validate()

Validates the instance.

JobResourceInner withDeliveryInfo(JobDeliveryInfo deliveryInfo)

Set the deliveryInfo property: Delivery Info of Job.

JobResourceInner withDeliveryType(JobDeliveryType deliveryType)

Set the deliveryType property: Delivery type of Job.

JobResourceInner withDetails(JobDetails details)

Set the details property: Details of a job run.

JobResourceInner withIdentity(ResourceIdentity identity)

Set the identity property: Msi identity of the resource.

JobResourceInner withLocation(String location)
JobResourceInner withSku(Sku sku)

Set the sku property: The sku type.

JobResourceInner withTags(Map<String,String> tags)
JobResourceInner withTransferType(TransferType transferType)

Set the transferType property: Type of the data transfer.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

JobResourceInner

public JobResourceInner()

Creates an instance of JobResourceInner class.

Method Details

cancellationReason

public String cancellationReason()

Get the cancellationReason property: Reason for cancellation.

Returns:

the cancellationReason value.

deliveryInfo

public JobDeliveryInfo deliveryInfo()

Get the deliveryInfo property: Delivery Info of Job.

Returns:

the deliveryInfo value.

deliveryType

public JobDeliveryType deliveryType()

Get the deliveryType property: Delivery type of Job.

Returns:

the deliveryType 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.

error

public CloudError error()

Get the error property: Top level error for the job.

Returns:

the error value.

id

public String id()

Get the id property: Id of the object.

Overrides:

JobResourceInner.id()

Returns:

the id value.

identity

public ResourceIdentity identity()

Get the identity property: Msi identity of the resource.

Returns:

the identity value.

isCancellable

public Boolean isCancellable()

Get the isCancellable property: Describes whether the job is cancellable or not.

Returns:

the isCancellable value.

isCancellableWithoutFee

public Boolean isCancellableWithoutFee()

Get the isCancellableWithoutFee property: Flag to indicate cancellation of scheduled job.

Returns:

the isCancellableWithoutFee value.

isDeletable

public Boolean isDeletable()

Get the isDeletable property: Describes whether the job is deletable or not.

Returns:

the isDeletable value.

isPrepareToShipEnabled

public Boolean isPrepareToShipEnabled()

Get the isPrepareToShipEnabled property: Is Prepare To Ship Enabled on this job.

Returns:

the isPrepareToShipEnabled value.

isShippingAddressEditable

public Boolean isShippingAddressEditable()

Get the isShippingAddressEditable property: Describes whether the shipping address is editable or not.

Returns:

the isShippingAddressEditable value.

name

public String name()

Get the name property: Name of the object.

Overrides:

JobResourceInner.name()

Returns:

the name value.

reverseShippingDetailsUpdate

public ReverseShippingDetailsEditStatus reverseShippingDetailsUpdate()

Get the reverseShippingDetailsUpdate property: The Editable status for Reverse Shipping Address and Contact Info.

Returns:

the reverseShippingDetailsUpdate value.

reverseTransportPreferenceUpdate

public ReverseTransportPreferenceEditStatus reverseTransportPreferenceUpdate()

Get the reverseTransportPreferenceUpdate property: The Editable status for Reverse Transport preferences.

Returns:

the reverseTransportPreferenceUpdate value.

sku

public Sku sku()

Get the sku property: The sku type.

Returns:

the sku 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.

status

public StageName status()

Get the status property: Name of the stage which is in progress.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

transferType

public TransferType transferType()

Get the transferType property: Type of the data transfer.

Returns:

the transferType value.

type

public String type()

Get the type property: Type of the object.

Overrides:

JobResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDeliveryInfo

public JobResourceInner withDeliveryInfo(JobDeliveryInfo deliveryInfo)

Set the deliveryInfo property: Delivery Info of Job.

Parameters:

deliveryInfo - the deliveryInfo value to set.

Returns:

the JobResourceInner object itself.

withDeliveryType

public JobResourceInner withDeliveryType(JobDeliveryType deliveryType)

Set the deliveryType property: Delivery type of Job.

Parameters:

deliveryType - the deliveryType value to set.

Returns:

the JobResourceInner object itself.

withDetails

public JobResourceInner 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 JobResourceInner object itself.

withIdentity

public JobResourceInner withIdentity(ResourceIdentity identity)

Set the identity property: Msi identity of the resource.

Parameters:

identity - the identity value to set.

Returns:

the JobResourceInner object itself.

withLocation

public JobResourceInner withLocation(String location)

Overrides:

JobResourceInner.withLocation(String location)

Parameters:

location

withSku

public JobResourceInner withSku(Sku sku)

Set the sku property: The sku type.

Parameters:

sku - the sku value to set.

Returns:

the JobResourceInner object itself.

withTags

public JobResourceInner withTags(Map tags)

Overrides:

JobResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

withTransferType

public JobResourceInner withTransferType(TransferType transferType)

Set the transferType property: Type of the data transfer.

Parameters:

transferType - the transferType value to set.

Returns:

the JobResourceInner object itself.

Applies to