java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.JobProperties

public final class JobProperties extends Object
Properties of the Job.
  • Constructor Details

    • JobProperties

      public JobProperties()
      Creates an instance of JobProperties class.
  • Method Details

    • created

      public OffsetDateTime 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

      public JobState state()
      Get the state property: The current state of the job.
      Returns:
      the state value.
    • description

      public String description()
      Get the description property: Optional customer supplied description of the Job.
      Returns:
      the description value.
    • withDescription

      public JobProperties withDescription(String description)
      Set the description property: Optional customer supplied description of the Job.
      Parameters:
      description - the description value to set.
      Returns:
      the JobProperties object itself.
    • input

      public JobInput input()
      Get the input property: The inputs for the Job.
      Returns:
      the input value.
    • withInput

      public JobProperties withInput(JobInput input)
      Set the input property: The inputs for the Job.
      Parameters:
      input - the input value to set.
      Returns:
      the JobProperties object itself.
    • lastModified

      public OffsetDateTime 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

      public List<JobOutput> outputs()
      Get the outputs property: The outputs for the Job.
      Returns:
      the outputs value.
    • withOutputs

      public JobProperties withOutputs(List<JobOutput> outputs)
      Set the outputs property: The outputs for the Job.
      Parameters:
      outputs - the outputs value to set.
      Returns:
      the JobProperties object itself.
    • priority

      public Priority 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

      public JobProperties withPriority(Priority priority)
      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

      public Map<String,String> 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

      public JobProperties withCorrelationData(Map<String,String> correlationData)
      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

      public OffsetDateTime startTime()
      Get the startTime property: The UTC date and time at which this Job began processing.
      Returns:
      the startTime value.
    • endTime

      public OffsetDateTime 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.