Class ClusterId


  • @Deprecated(since="2021-05-27")
    public final class ClusterId
    extends Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A client-generated identifier that uniquely identifies a connection to a MongoDB cluster, which could be sharded, replica set, or standalone.
    Since:
    3.0
    • Constructor Detail

      • ClusterId

        public ClusterId()
        Deprecated.
        Construct an instance.
      • ClusterId

        public ClusterId​(String description)
        Deprecated.
        Construct an instance.
        Parameters:
        description - the user defined description of the MongoClient
    • Method Detail

      • getValue

        public String getValue()
        Deprecated.
        Gets the value of the identifier.
        Returns:
        the value
      • getDescription

        public String getDescription()
        Deprecated.
        Gets the user defined description of the MongoClient.
        Returns:
        the user defined description of the MongoClient
      • equals

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

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object