Interface MongoDbDataProviderSettings.Builder

    • Method Detail

      • serverName

        MongoDbDataProviderSettings.Builder serverName​(String 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

        MongoDbDataProviderSettings.Builder port​(Integer 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

        MongoDbDataProviderSettings.Builder sslMode​(String 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:
        DmsSslModeValue, DmsSslModeValue
      • sslMode

        MongoDbDataProviderSettings.Builder sslMode​(DmsSslModeValue 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:
        DmsSslModeValue, DmsSslModeValue
      • 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

        MongoDbDataProviderSettings.Builder authType​(String 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:
        AuthTypeValue, AuthTypeValue
      • authType

        MongoDbDataProviderSettings.Builder authType​(AuthTypeValue 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:
        AuthTypeValue, AuthTypeValue
      • authSource

        MongoDbDataProviderSettings.Builder authSource​(String 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:
        AuthMechanismValue, AuthMechanismValue
      • authMechanism

        MongoDbDataProviderSettings.Builder authMechanism​(AuthMechanismValue 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:
        AuthMechanismValue, AuthMechanismValue