Class JobResourceInner


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

      • JobResourceInner

        public JobResourceInner()
    • Method Detail

      • 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
      • validate

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