java.lang.Object
com.azure.resourcemanager.security.models.Etag

public class Etag extends Object
Entity tag is used for comparing two or more entities from the same requested resource.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
    void
    Validates the instance.
    Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Etag

      public Etag()
  • Method Details

    • etag

      public String etag()
      Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
      Returns:
      the etag value.
    • withEtag

      public Etag withEtag(String etag)
      Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the Etag object itself.
    • validate

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