Package fr.gouv.vitam.common.server.application.configuration

# Class MongoDbShard

java.lang.Object
fr.gouv.vitam.common.server.application.configuration.MongoDbShard

public class MongoDbShard extends Object
MongoDbNode class defining a mongo db node

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MongoDbShard()`
  `MongoDbShard(String shardName, List<MongoDbNode> mongoDbNodes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<MongoDbNode>`
  `getMongoDbNodes()`
  `String`
  `getShardName()`
  `void`
  `setMongoDbNodes(List<MongoDbNode> mongoDbNodes)`
  `void`
  `setShardName(String shardName)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MongoDbShard

    public MongoDbShard()

  - ### MongoDbShard

    public MongoDbShard(String shardName, List<MongoDbNode> mongoDbNodes)

- ## Method Details

  - ### getShardName

    public String getShardName()

  - ### setShardName

    public void setShardName(String shardName)

  - ### getMongoDbNodes

    public List<MongoDbNode> getMongoDbNodes()

  - ### setMongoDbNodes

    public void setMongoDbNodes(List<MongoDbNode> mongoDbNodes)