@Generated(value="software.amazon.awssdk:codegen") public final class MongoDbDataProviderSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MongoDbDataProviderSettings.Builder,MongoDbDataProviderSettings>
Provides information that defines a MongoDB data provider.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MongoDbDataProviderSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
AuthMechanismValue |
authMechanism()
The authentication method for connecting to the data provider.
|
String |
authMechanismAsString()
The authentication method for connecting to the data provider.
|
String |
authSource()
The MongoDB database name.
|
AuthTypeValue |
authType()
The authentication type for the database connection.
|
String |
authTypeAsString()
The authentication type for the database connection.
|
static MongoDbDataProviderSettings.Builder |
builder() |
String |
certificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
String |
databaseName()
The database name on the MongoDB data provider.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
port()
The port value for the MongoDB data provider.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MongoDbDataProviderSettings.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the MongoDB server.
|
DmsSslModeValue |
sslMode()
The SSL mode used to connect to the MongoDB data provider.
|
String |
sslModeAsString()
The SSL mode used to connect to the MongoDB data provider.
|
MongoDbDataProviderSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serverName()
The name of the MongoDB server.
public final Integer port()
The port value for the MongoDB data provider.
public final String databaseName()
The database name on the MongoDB data provider.
public final DmsSslModeValue sslMode()
The SSL mode used to connect to the MongoDB data provider. The default value is none.
If the service returns an enum value that is not available in the current SDK version, sslMode will
return DmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sslModeAsString().
none.DmsSslModeValuepublic final String sslModeAsString()
The SSL mode used to connect to the MongoDB data provider. The default value is none.
If the service returns an enum value that is not available in the current SDK version, sslMode will
return DmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sslModeAsString().
none.DmsSslModeValuepublic final String certificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
public final AuthTypeValue authType()
The authentication type for the database connection. Valid values are PASSWORD or NO.
If the service returns an enum value that is not available in the current SDK version, authType will
return AuthTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
authTypeAsString().
AuthTypeValuepublic final String authTypeAsString()
The authentication type for the database connection. Valid values are PASSWORD or NO.
If the service returns an enum value that is not available in the current SDK version, authType will
return AuthTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
authTypeAsString().
AuthTypeValuepublic final String authSource()
The MongoDB database name. This setting isn't used when AuthType is set to "no".
The default is "admin".
AuthType is set to "no"
.
The default is "admin".
public final AuthMechanismValue authMechanism()
The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.
If the service returns an enum value that is not available in the current SDK version, authMechanism
will return AuthMechanismValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from authMechanismAsString().
AuthMechanismValuepublic final String authMechanismAsString()
The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.
If the service returns an enum value that is not available in the current SDK version, authMechanism
will return AuthMechanismValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from authMechanismAsString().
AuthMechanismValuepublic MongoDbDataProviderSettings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MongoDbDataProviderSettings.Builder,MongoDbDataProviderSettings>public static MongoDbDataProviderSettings.Builder builder()
public static Class<? extends MongoDbDataProviderSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.