Class PoolsGetHeaders

java.lang.Object
com.azure.resourcemanager.batch.models.PoolsGetHeaders

public final class PoolsGetHeaders extends Object
The PoolsGetHeaders model.
  • Constructor Details

    • PoolsGetHeaders

      public PoolsGetHeaders(com.azure.core.http.HttpHeaders rawHeaders)
      Creates an instance of PoolsGetHeaders class.
      Parameters:
      rawHeaders - The raw HttpHeaders that will be used to create the property values.
  • Method Details

    • etag

      public String etag()
      Get the etag property: The Etag property.
      Returns:
      the etag value.
    • withEtag

      public PoolsGetHeaders withEtag(String etag)
      Set the etag property: The Etag property.
      Parameters:
      etag - the etag value to set.
      Returns:
      the PoolsGetHeaders object itself.
    • validate

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