Class JobProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.JobProperties
Properties of the Job.
-
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.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.
-
Constructor Details
-
JobProperties
public JobProperties()Creates an instance of JobProperties class.
-
-
Method Details
-
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 JobProperties 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 JobProperties 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 JobProperties 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 JobProperties 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 JobProperties 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.
-