Package com.mongodb

Class Tag

java.lang.Object
com.mongodb.Tag

@Immutable @Deprecated(since="2021-05-27") public final class Tag extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A replica set tag.
Since:
2.13
  • Constructor Details

    • Tag

      public Tag(String name, String value)
      Deprecated.
      Construct a new instance.
      Parameters:
      name - the tag name
      value - the value of the tag
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Gets the name of the replica set tag.
      Returns:
      the name
    • getValue

      public String getValue()
      Deprecated.
      Gets the value of the replica set tag.
      Returns:
      the value
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object