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

    Constructors
    Constructor
    Description
    Creates an instance of JobInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the correlationData property: Customer provided key, value pairs that will be returned in Job and JobOutput state events.
    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.
    Get the endTime property: The UTC date and time at which this Job finished processing.
    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.
    Get the outputs property: The outputs for the Job.
    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.
    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
    Validates the instance.
    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.
    Set the outputs property: The outputs for the Job.
    Set the priority property: Priority with which the job should be processed.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      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 JobInner withDescription(String description)
      Set the description property: Optional customer supplied description of the Job.
      Parameters:
      description - the description value to set.
      Returns:
      the JobInner object itself.
    • input

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

      public JobInner withInput(JobInput input)
      Set the input property: The inputs for the Job.
      Parameters:
      input - the input value to set.
      Returns:
      the JobInner 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 JobInner withOutputs(List<JobOutput> outputs)
      Set the outputs property: The outputs for the Job.
      Parameters:
      outputs - the outputs value to set.
      Returns:
      the JobInner 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 JobInner 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 JobInner 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 JobInner 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 JobInner 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.