public static interface MongoDbSettings.Builder extends CopyableBuilder<MongoDbSettings.Builder,MongoDbSettings>
Modifier and Type | Method and Description |
---|---|
MongoDbSettings.Builder |
authMechanism(AuthMechanismValue authMechanism)
The authentication mechanism you use to access the MongoDB source endpoint.
|
MongoDbSettings.Builder |
authMechanism(String authMechanism)
The authentication mechanism you use to access the MongoDB source endpoint.
|
MongoDbSettings.Builder |
authSource(String authSource)
The MongoDB database name.
|
MongoDbSettings.Builder |
authType(AuthTypeValue authType)
The authentication type you use to access the MongoDB source endpoint.
|
MongoDbSettings.Builder |
authType(String authType)
The authentication type you use to access the MongoDB source endpoint.
|
MongoDbSettings.Builder |
databaseName(String databaseName)
The database name on the MongoDB source endpoint.
|
MongoDbSettings.Builder |
docsToInvestigate(String docsToInvestigate)
Indicates the number of documents to preview to determine the document organization.
|
MongoDbSettings.Builder |
extractDocId(String extractDocId)
Specifies the document ID.
|
MongoDbSettings.Builder |
nestingLevel(NestingLevelValue nestingLevel)
Specifies either document or table mode.
|
MongoDbSettings.Builder |
nestingLevel(String nestingLevel)
Specifies either document or table mode.
|
MongoDbSettings.Builder |
password(String password)
The password for the user account you use to access the MongoDB source endpoint.
|
MongoDbSettings.Builder |
port(Integer port)
The port value for the MongoDB source endpoint.
|
MongoDbSettings.Builder |
serverName(String serverName)
The name of the server on the MongoDB source endpoint.
|
MongoDbSettings.Builder |
username(String username)
The user name you use to access the MongoDB source endpoint.
|
copy
apply, build
MongoDbSettings.Builder username(String username)
The user name you use to access the MongoDB source endpoint.
username
- The user name you use to access the MongoDB source endpoint.MongoDbSettings.Builder password(String password)
The password for the user account you use to access the MongoDB source endpoint.
password
- The password for the user account you use to access the MongoDB source endpoint.MongoDbSettings.Builder serverName(String serverName)
The name of the server on the MongoDB source endpoint.
serverName
- The name of the server on the MongoDB source endpoint.MongoDbSettings.Builder port(Integer port)
The port value for the MongoDB source endpoint.
port
- The port value for the MongoDB source endpoint.MongoDbSettings.Builder databaseName(String databaseName)
The database name on the MongoDB source endpoint.
databaseName
- The database name on the MongoDB source endpoint.MongoDbSettings.Builder authType(String authType)
The authentication type you use to access the MongoDB source endpoint.
Valid values: NO, PASSWORD
When NO is selected, user name and password parameters are not used and can be empty.
authType
- The authentication type you use to access the MongoDB source endpoint.
Valid values: NO, PASSWORD
When NO is selected, user name and password parameters are not used and can be empty.
AuthTypeValue
,
AuthTypeValue
MongoDbSettings.Builder authType(AuthTypeValue authType)
The authentication type you use to access the MongoDB source endpoint.
Valid values: NO, PASSWORD
When NO is selected, user name and password parameters are not used and can be empty.
authType
- The authentication type you use to access the MongoDB source endpoint.
Valid values: NO, PASSWORD
When NO is selected, user name and password parameters are not used and can be empty.
AuthTypeValue
,
AuthTypeValue
MongoDbSettings.Builder authMechanism(String authMechanism)
The authentication mechanism you use to access the MongoDB source endpoint.
Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1
DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.
authMechanism
- The authentication mechanism you use to access the MongoDB source endpoint.
Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1
DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.
AuthMechanismValue
,
AuthMechanismValue
MongoDbSettings.Builder authMechanism(AuthMechanismValue authMechanism)
The authentication mechanism you use to access the MongoDB source endpoint.
Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1
DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.
authMechanism
- The authentication mechanism you use to access the MongoDB source endpoint.
Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1
DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.
AuthMechanismValue
,
AuthMechanismValue
MongoDbSettings.Builder nestingLevel(String nestingLevel)
Specifies either document or table mode.
Valid values: NONE, ONE
Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.
nestingLevel
- Specifies either document or table mode.
Valid values: NONE, ONE
Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.
NestingLevelValue
,
NestingLevelValue
MongoDbSettings.Builder nestingLevel(NestingLevelValue nestingLevel)
Specifies either document or table mode.
Valid values: NONE, ONE
Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.
nestingLevel
- Specifies either document or table mode.
Valid values: NONE, ONE
Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.
NestingLevelValue
,
NestingLevelValue
MongoDbSettings.Builder extractDocId(String extractDocId)
Specifies the document ID. Use this attribute when NestingLevel
is set to NONE.
Default value is false.
extractDocId
- Specifies the document ID. Use this attribute when NestingLevel
is set to NONE.
Default value is false.
MongoDbSettings.Builder docsToInvestigate(String docsToInvestigate)
Indicates the number of documents to preview to determine the document organization. Use this attribute when
NestingLevel
is set to ONE.
Must be a positive value greater than 0. Default value is 1000.
docsToInvestigate
- Indicates the number of documents to preview to determine the document organization. Use this
attribute when NestingLevel
is set to ONE.
Must be a positive value greater than 0. Default value is 1000.
MongoDbSettings.Builder authSource(String authSource)
The MongoDB database name. This attribute is not used when authType=NO
.
The default is admin.
authSource
- The MongoDB database name. This attribute is not used when authType=NO
.
The default is admin.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.