Package com.mongodb
Class Tag
- java.lang.Object
-
- com.mongodb.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 booleanequals(java.lang.Object o)Deprecated.java.lang.StringgetName()Deprecated.Gets the name of the replica set tag.java.lang.StringgetValue()Deprecated.Gets the value of the replica set tag.inthashCode()Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-