Package com.mongodb

Class Tag


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

      Constructors 
      Constructor Description
      Tag​(java.lang.String name, java.lang.String value)
      Deprecated.
      Construct a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Deprecated.
       
      java.lang.String getName()
      Deprecated.
      Gets the name of the replica set tag.
      java.lang.String getValue()
      Deprecated.
      Gets the value of the replica set tag.
      int hashCode()
      Deprecated.
       
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Tag

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

      • getName

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

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

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

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

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