Class JobInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.JobInner
public final class JobInner
extends com.azure.core.management.ProxyResource
A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using
EventGrid.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the correlationData property: Customer provided key, value pairs that will be returned in Job and JobOutput state events.created()
Get the created property: The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.Get the description property: Optional customer supplied description of the Job.endTime()
Get the endTime property: The UTC date and time at which this Job finished processing.input()
Get the input property: The inputs for the Job.Get the lastModified property: The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.outputs()
Get the outputs property: The outputs for the Job.priority()
Get the priority property: Priority with which the job should be processed.Get the startTime property: The UTC date and time at which this Job began processing.state()
Get the state property: The current state of the job.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withCorrelationData
(Map<String, String> correlationData) Set the correlationData property: Customer provided key, value pairs that will be returned in Job and JobOutput state events.withDescription
(String description) Set the description property: Optional customer supplied description of the Job.Set the input property: The inputs for the Job.withOutputs
(List<JobOutput> outputs) Set the outputs property: The outputs for the Job.withPriority
(Priority priority) Set the priority property: Priority with which the job should be processed.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
JobInner
public JobInner()Creates an instance of JobInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
created
Get the created property: The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.- Returns:
- the created value.
-
state
Get the state property: The current state of the job.- Returns:
- the state value.
-
description
Get the description property: Optional customer supplied description of the Job.- Returns:
- the description value.
-
withDescription
Set the description property: Optional customer supplied description of the Job.- Parameters:
description
- the description value to set.- Returns:
- the JobInner object itself.
-
input
Get the input property: The inputs for the Job.- Returns:
- the input value.
-
withInput
Set the input property: The inputs for the Job.- Parameters:
input
- the input value to set.- Returns:
- the JobInner object itself.
-
lastModified
Get the lastModified property: The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.- Returns:
- the lastModified value.
-
outputs
Get the outputs property: The outputs for the Job.- Returns:
- the outputs value.
-
withOutputs
Set the outputs property: The outputs for the Job.- Parameters:
outputs
- the outputs value to set.- Returns:
- the JobInner object itself.
-
priority
Get the priority property: Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal.- Returns:
- the priority value.
-
withPriority
Set the priority property: Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal.- Parameters:
priority
- the priority value to set.- Returns:
- the JobInner object itself.
-
correlationData
Get the correlationData property: Customer provided key, value pairs that will be returned in Job and JobOutput state events.- Returns:
- the correlationData value.
-
withCorrelationData
Set the correlationData property: Customer provided key, value pairs that will be returned in Job and JobOutput state events.- Parameters:
correlationData
- the correlationData value to set.- Returns:
- the JobInner object itself.
-
startTime
Get the startTime property: The UTC date and time at which this Job began processing.- Returns:
- the startTime value.
-
endTime
Get the endTime property: The UTC date and time at which this Job finished processing.- Returns:
- the endTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-