public final class ClusterId
extends java.lang.Object
Constructor and Description |
---|
ClusterId()
Construct an instance.
|
ClusterId(java.lang.String description)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
Gets the user defined description of the MongoClient.
|
java.lang.String |
getValue()
Gets the value of the identifier.
|
int |
hashCode() |
java.lang.String |
toString() |
public ClusterId()
public ClusterId(java.lang.String description)
description
- the user defined description of the MongoClientpublic java.lang.String getValue()
public java.lang.String getDescription()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object