Interface MongoDbDataProviderSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MongoDbDataProviderSettings.Builder,
,MongoDbDataProviderSettings> SdkBuilder<MongoDbDataProviderSettings.Builder,
,MongoDbDataProviderSettings> SdkPojo
- Enclosing class:
MongoDbDataProviderSettings
-
Method Summary
Modifier and TypeMethodDescriptionauthMechanism
(String authMechanism) The authentication method for connecting to the data provider.authMechanism
(AuthMechanismValue authMechanism) The authentication method for connecting to the data provider.authSource
(String authSource) The MongoDB database name.The authentication type for the database connection.authType
(AuthTypeValue authType) The authentication type for the database connection.certificateArn
(String certificateArn) The Amazon Resource Name (ARN) of the certificate used for SSL connection.databaseName
(String databaseName) The database name on the MongoDB data provider.The port value for the MongoDB data provider.serverName
(String serverName) The name of the MongoDB server.The SSL mode used to connect to the MongoDB data provider.sslMode
(DmsSslModeValue sslMode) The SSL mode used to connect to the MongoDB data provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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 isnone
.- 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 isnone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 whenAuthType
is set to"no"
.The default is
"admin"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-