Class JobResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.databox.fluent.models.JobResourceInner
public final class JobResourceInner
extends com.azure.core.management.Resource
Job Resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the cancellationReason property: Reason for cancellation.Get the deliveryInfo property: Delivery Info of Job.Get the deliveryType property: Delivery type of Job.details()
Get the details property: Details of a job run.error()
Get the error property: Top level error for the job.id()
Get the id property: Id of the object.identity()
Get the identity property: Msi identity of the resource.Get the isCancellable property: Describes whether the job is cancellable or not.Get the isCancellableWithoutFee property: Flag to indicate cancellation of scheduled job.Get the isDeletable property: Describes whether the job is deletable or not.Get the isPrepareToShipEnabled property: Is Prepare To Ship Enabled on this job.Get the isShippingAddressEditable property: Describes whether the shipping address is editable or not.name()
Get the name property: Name of the object.sku()
Get the sku property: The sku type.Get the startTime property: Time at which the job was started in UTC ISO 8601 format.status()
Get the status property: Name of the stage which is in progress.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.Get the transferType property: Type of the data transfer.type()
Get the type property: Type of the object.void
validate()
Validates the instance.withDeliveryInfo
(JobDeliveryInfo deliveryInfo) Set the deliveryInfo property: Delivery Info of Job.withDeliveryType
(JobDeliveryType deliveryType) Set the deliveryType property: Delivery type of Job.withDetails
(JobDetails details) Set the details property: Details of a job run.withIdentity
(ResourceIdentity identity) Set the identity property: Msi identity of the resource.withLocation
(String location) Set the sku property: The sku type.withTransferType
(TransferType transferType) Set the transferType property: Type of the data transfer.Methods inherited from class com.azure.core.management.Resource
location, tags
-
Constructor Details
-
JobResourceInner
public JobResourceInner()Creates an instance of JobResourceInner class.
-
-
Method Details
-
name
Get the name property: Name of the object.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Id of the object.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
type
Get the type property: Type of the object.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
sku
Get the sku property: The sku type.- Returns:
- the sku value.
-
withSku
Set the sku property: The sku type.- Parameters:
sku
- the sku value to set.- Returns:
- the JobResourceInner object itself.
-
identity
Get the identity property: Msi identity of the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Msi identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the JobResourceInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
transferType
Get the transferType property: Type of the data transfer.- Returns:
- the transferType value.
-
withTransferType
Set the transferType property: Type of the data transfer.- Parameters:
transferType
- the transferType value to set.- Returns:
- the JobResourceInner object itself.
-
isCancellable
Get the isCancellable property: Describes whether the job is cancellable or not.- Returns:
- the isCancellable value.
-
isDeletable
Get the isDeletable property: Describes whether the job is deletable or not.- Returns:
- the isDeletable value.
-
isShippingAddressEditable
Get the isShippingAddressEditable property: Describes whether the shipping address is editable or not.- Returns:
- the isShippingAddressEditable value.
-
isPrepareToShipEnabled
Get the isPrepareToShipEnabled property: Is Prepare To Ship Enabled on this job.- Returns:
- the isPrepareToShipEnabled value.
-
status
Get the status property: Name of the stage which is in progress.- Returns:
- the status value.
-
startTime
Get the startTime property: Time at which the job was started in UTC ISO 8601 format.- Returns:
- the startTime value.
-
error
Get the error property: Top level error for the job.- Returns:
- the error value.
-
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
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.
-
cancellationReason
Get the cancellationReason property: Reason for cancellation.- Returns:
- the cancellationReason value.
-
deliveryType
Get the deliveryType property: Delivery type of Job.- Returns:
- the deliveryType value.
-
withDeliveryType
Set the deliveryType property: Delivery type of Job.- Parameters:
deliveryType
- the deliveryType value to set.- Returns:
- the JobResourceInner object itself.
-
deliveryInfo
Get the deliveryInfo property: Delivery Info of Job.- Returns:
- the deliveryInfo value.
-
withDeliveryInfo
Set the deliveryInfo property: Delivery Info of Job.- Parameters:
deliveryInfo
- the deliveryInfo value to set.- Returns:
- the JobResourceInner object itself.
-
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.
-