Package com.mongodb

Class Tag

    • Constructor Detail

      • Tag

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

      • getName

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

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

        public int hashCode​()
        Overrides:
        hashCode in class Object