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