Class PoliciesGetEntityTagHeaders

java.lang.Object
com.azure.resourcemanager.apimanagement.models.PoliciesGetEntityTagHeaders

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

    • PoliciesGetEntityTagHeaders

      public PoliciesGetEntityTagHeaders(com.azure.core.http.HttpHeaders rawHeaders)
      Creates an instance of PoliciesGetEntityTagHeaders 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 PoliciesGetEntityTagHeaders withEtag(String etag)
      Set the etag property: The Etag property.
      Parameters:
      etag - the etag value to set.
      Returns:
      the PoliciesGetEntityTagHeaders object itself.
    • validate

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