Package com.mongodb

Class 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 Detail

      • Tag

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

      • 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