Interface MongoDbDataProviderSettings.Builder

  • Method Details

    • serverName

      The name of the MongoDB server.

      Parameters:
      serverName - The name of the MongoDB server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port value for the MongoDB data provider.

      Parameters:
      port - The port value for the MongoDB data provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseName

      MongoDbDataProviderSettings.Builder databaseName(String databaseName)

      The database name on the MongoDB data provider.

      Parameters:
      databaseName - The database name on the MongoDB data provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sslMode

      The SSL mode used to connect to the MongoDB data provider. The default value is none.

      Parameters:
      sslMode - The SSL mode used to connect to the MongoDB data provider. The default value is none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sslMode

      The SSL mode used to connect to the MongoDB data provider. The default value is none.

      Parameters:
      sslMode - The SSL mode used to connect to the MongoDB data provider. The default value is none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateArn

      MongoDbDataProviderSettings.Builder certificateArn(String certificateArn)

      The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      Parameters:
      certificateArn - The Amazon Resource Name (ARN) of the certificate used for SSL connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authType

      The authentication type for the database connection. Valid values are PASSWORD or NO.

      Parameters:
      authType - The authentication type for the database connection. Valid values are PASSWORD or NO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The authentication type for the database connection. Valid values are PASSWORD or NO.

      Parameters:
      authType - The authentication type for the database connection. Valid values are PASSWORD or NO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authSource

      The MongoDB database name. This setting isn't used when AuthType is set to "no".

      The default is "admin".

      Parameters:
      authSource - The MongoDB database name. This setting isn't used when AuthType is set to "no".

      The default is "admin".

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authMechanism

      MongoDbDataProviderSettings.Builder authMechanism(String authMechanism)

      The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

      Parameters:
      authMechanism - The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authMechanism

      The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

      Parameters:
      authMechanism - The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: