@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MongoDbSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description | 
|---|
| MongoDbSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| MongoDbSettings | clone() | 
| boolean | equals(Object obj) | 
| String | getAuthMechanism()
 The authentication mechanism you use to access the MongoDB source endpoint. | 
| String | getAuthSource()
 The MongoDB database name. | 
| String | getAuthType()
 The authentication type you use to access the MongoDB source endpoint. | 
| String | getDatabaseName()
 The database name on the MongoDB source endpoint. | 
| String | getDocsToInvestigate()
 Indicates the number of documents to preview to determine the document organization. | 
| String | getExtractDocId()
 Specifies the document ID. | 
| String | getNestingLevel()
 Specifies either document or table mode. | 
| String | getPassword()
 The password for the user account you use to access the MongoDB source endpoint. | 
| Integer | getPort()
 The port value for the MongoDB source endpoint. | 
| String | getServerName()
 The name of the server on the MongoDB source endpoint. | 
| String | getUsername()
 The user name you use to access the MongoDB source endpoint. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAuthMechanism(AuthMechanismValue authMechanism)
 The authentication mechanism you use to access the MongoDB source endpoint. | 
| void | setAuthMechanism(String authMechanism)
 The authentication mechanism you use to access the MongoDB source endpoint. | 
| void | setAuthSource(String authSource)
 The MongoDB database name. | 
| void | setAuthType(AuthTypeValue authType)
 The authentication type you use to access the MongoDB source endpoint. | 
| void | setAuthType(String authType)
 The authentication type you use to access the MongoDB source endpoint. | 
| void | setDatabaseName(String databaseName)
 The database name on the MongoDB source endpoint. | 
| void | setDocsToInvestigate(String docsToInvestigate)
 Indicates the number of documents to preview to determine the document organization. | 
| void | setExtractDocId(String extractDocId)
 Specifies the document ID. | 
| void | setNestingLevel(NestingLevelValue nestingLevel)
 Specifies either document or table mode. | 
| void | setNestingLevel(String nestingLevel)
 Specifies either document or table mode. | 
| void | setPassword(String password)
 The password for the user account you use to access the MongoDB source endpoint. | 
| void | setPort(Integer port)
 The port value for the MongoDB source endpoint. | 
| void | setServerName(String serverName)
 The name of the server on the MongoDB source endpoint. | 
| void | setUsername(String username)
 The user name you use to access the MongoDB source endpoint. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| MongoDbSettings | withAuthMechanism(AuthMechanismValue authMechanism)
 The authentication mechanism you use to access the MongoDB source endpoint. | 
| MongoDbSettings | withAuthMechanism(String authMechanism)
 The authentication mechanism you use to access the MongoDB source endpoint. | 
| MongoDbSettings | withAuthSource(String authSource)
 The MongoDB database name. | 
| MongoDbSettings | withAuthType(AuthTypeValue authType)
 The authentication type you use to access the MongoDB source endpoint. | 
| MongoDbSettings | withAuthType(String authType)
 The authentication type you use to access the MongoDB source endpoint. | 
| MongoDbSettings | withDatabaseName(String databaseName)
 The database name on the MongoDB source endpoint. | 
| MongoDbSettings | withDocsToInvestigate(String docsToInvestigate)
 Indicates the number of documents to preview to determine the document organization. | 
| MongoDbSettings | withExtractDocId(String extractDocId)
 Specifies the document ID. | 
| MongoDbSettings | withNestingLevel(NestingLevelValue nestingLevel)
 Specifies either document or table mode. | 
| MongoDbSettings | withNestingLevel(String nestingLevel)
 Specifies either document or table mode. | 
| MongoDbSettings | withPassword(String password)
 The password for the user account you use to access the MongoDB source endpoint. | 
| MongoDbSettings | withPort(Integer port)
 The port value for the MongoDB source endpoint. | 
| MongoDbSettings | withServerName(String serverName)
 The name of the server on the MongoDB source endpoint. | 
| MongoDbSettings | withUsername(String username)
 The user name you use to access the MongoDB source endpoint. | 
public void setUsername(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.public String getUsername()
The user name you use to access the MongoDB source endpoint.
public MongoDbSettings withUsername(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.public void setPassword(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.public String getPassword()
The password for the user account you use to access the MongoDB source endpoint.
public MongoDbSettings withPassword(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.public void setServerName(String serverName)
The name of the server on the MongoDB source endpoint.
serverName - The name of the server on the MongoDB source endpoint.public String getServerName()
The name of the server on the MongoDB source endpoint.
public MongoDbSettings withServerName(String serverName)
The name of the server on the MongoDB source endpoint.
serverName - The name of the server on the MongoDB source endpoint.public void setPort(Integer port)
The port value for the MongoDB source endpoint.
port - The port value for the MongoDB source endpoint.public Integer getPort()
The port value for the MongoDB source endpoint.
public MongoDbSettings withPort(Integer port)
The port value for the MongoDB source endpoint.
port - The port value for the MongoDB source endpoint.public void setDatabaseName(String databaseName)
The database name on the MongoDB source endpoint.
databaseName - The database name on the MongoDB source endpoint.public String getDatabaseName()
The database name on the MongoDB source endpoint.
public MongoDbSettings withDatabaseName(String databaseName)
The database name on the MongoDB source endpoint.
databaseName - The database name on the MongoDB source endpoint.public void setAuthType(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.
AuthTypeValuepublic String getAuthType()
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.
Valid values: NO, PASSWORD
When NO is selected, user name and password parameters are not used and can be empty.
AuthTypeValuepublic MongoDbSettings withAuthType(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.
AuthTypeValuepublic void setAuthType(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.
AuthTypeValuepublic MongoDbSettings withAuthType(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.
AuthTypeValuepublic void setAuthMechanism(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.
AuthMechanismValuepublic String getAuthMechanism()
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.
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.
AuthMechanismValuepublic MongoDbSettings withAuthMechanism(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.
AuthMechanismValuepublic void setAuthMechanism(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.
AuthMechanismValuepublic MongoDbSettings withAuthMechanism(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.
AuthMechanismValuepublic void setNestingLevel(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.
NestingLevelValuepublic String getNestingLevel()
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.
Valid values: NONE, ONE
Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.
NestingLevelValuepublic MongoDbSettings withNestingLevel(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.
NestingLevelValuepublic void setNestingLevel(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.
NestingLevelValuepublic MongoDbSettings withNestingLevel(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.
NestingLevelValuepublic void setExtractDocId(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.
public String getExtractDocId()
 Specifies the document ID. Use this attribute when NestingLevel is set to NONE.
 
Default value is false.
NestingLevel is set to NONE. 
         Default value is false.
public MongoDbSettings withExtractDocId(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.
public void setDocsToInvestigate(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.
public String getDocsToInvestigate()
 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.
NestingLevel is set to ONE. 
         Must be a positive value greater than 0. Default value is 1000.
public MongoDbSettings withDocsToInvestigate(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.
public void setAuthSource(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.
public String getAuthSource()
 The MongoDB database name. This attribute is not used when authType=NO.
 
The default is admin.
authType=NO. 
         The default is admin.
public MongoDbSettings withAuthSource(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.
public String toString()
toString in class ObjectObject.toString()public MongoDbSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.