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

# Class MongoDbNode

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

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MongoDbNode()`
  MongodbNode empty constructor for YAMLFactory
  `MongoDbNode(String dbHost, int dbPort)`
  MongodbNode constructor with parameters

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDbHost()`
  `int`
  `getDbPort()`
  `MongoDbNode`
  `setDbHost(String dbHost)`
  `MongoDbNode`
  `setDbPort(int dbPort)`

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

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

- ## Constructor Details

  - ### MongoDbNode

    public MongoDbNode()
    MongodbNode empty constructor for YAMLFactory

  - ### MongoDbNode

    public MongoDbNode(String dbHost, int dbPort)
    MongodbNode constructor with parameters
    Parameters:
      `dbHost` -
      `dbPort` -

- ## Method Details

  - ### getDbHost

    public String getDbHost()
    Returns:
      the dbHost

  - ### setDbHost

    public MongoDbNode setDbHost(String dbHost)
    Parameters:
      `dbHost` -
    Returns:
      MongodbNode

  - ### getDbPort

    public int getDbPort()
    Returns:
      the dbPort

  - ### setDbPort

    public MongoDbNode setDbPort(int dbPort)
    Parameters:
      `dbPort` -
    Returns:
      MongodbNode