java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.JobResourceInner

public final class JobResourceInner extends com.azure.core.management.Resource
Defines workload agnostic properties for a job.
  • Constructor Details

    • JobResourceInner

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

    • properties

      public Job properties()
      Get the properties property: JobResource properties.
      Returns:
      the properties value.
    • withProperties

      public JobResourceInner withProperties(Job properties)
      Set the properties property: JobResource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the JobResourceInner object itself.
    • etag

      public String etag()
      Get the etag property: Optional ETag.
      Returns:
      the etag value.
    • withEtag

      public JobResourceInner withEtag(String etag)
      Set the etag property: Optional ETag.
      Parameters:
      etag - the etag value to set.
      Returns:
      the JobResourceInner object itself.
    • withLocation

      public JobResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public JobResourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.