Class TagFilter

java.lang.Object
com.azure.resourcemanager.storage.models.TagFilter

public final class TagFilter extends Object
Blob index tag based filtering for blob objects.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name property: This is the filter tag name, it can have 1 - 128 characters.
    op()
    Get the op property: This is the comparison operator which is used for object comparison and filtering.
    void
    Validates the instance.
    Get the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.
    Set the name property: This is the filter tag name, it can have 1 - 128 characters.
    Set the op property: This is the comparison operator which is used for object comparison and filtering.
    Set the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.

    Methods inherited from class java.lang.Object

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

    • TagFilter

      public TagFilter()
  • Method Details

    • name

      public String name()
      Get the name property: This is the filter tag name, it can have 1 - 128 characters.
      Returns:
      the name value.
    • withName

      public TagFilter withName(String name)
      Set the name property: This is the filter tag name, it can have 1 - 128 characters.
      Parameters:
      name - the name value to set.
      Returns:
      the TagFilter object itself.
    • op

      public String op()
      Get the op property: This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported.
      Returns:
      the op value.
    • withOp

      public TagFilter withOp(String op)
      Set the op property: This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported.
      Parameters:
      op - the op value to set.
      Returns:
      the TagFilter object itself.
    • value

      public String value()
      Get the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.
      Returns:
      the value value.
    • withValue

      public TagFilter withValue(String value)
      Set the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.
      Parameters:
      value - the value value to set.
      Returns:
      the TagFilter object itself.
    • validate

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