Class TagFilter

java.lang.Object
com.atlan.model.discovery.TagFilter

public class TagFilter extends Object
Class to compose a single filter criterion, by tag, for use in a linkable query.
  • Constructor Details

  • Method Details

    • of

      public static TagFilter of(AtlanClient client, String tagName)
      Create a new TagFilter to limit assets to those with the human-readable Atlan tag specified.
      Parameters:
      client - connectivity to the Atlan tenant
      tagName - human-readable name of the Atlan tag
      Returns:
      a filter to limit assets to those with the tag
    • of

      public static TagFilter of(AtlanClient client, String tagName, String value)
      Create a new TagFilter to limit assets to those with the human-readable Atlan tag specified, which in turn is mapped to a source tag, and thus can be further narrowed by the value of the source tag.
      Parameters:
      client - connectivity to the Atlan tenant
      tagName - human-readable name of the Atlan tag
      value - of the tag to further narrow by
      Returns:
      a filter to limit assets to those with the tag
    • _internal

      public static TagFilter.TagFilterBuilder<?,?> _internal()
    • toBuilder

      public TagFilter.TagFilterBuilder<?,?> toBuilder()
    • getName

      public String getName()
      Atlan-internal tag name for the tag.
    • getDisplayName

      public String getDisplayName()
      Human-readable name for the tag.
    • getTagValues

      public List<TagFilter.TagValue> getTagValues()
      Value to compare the operand against.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object