@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocDbSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a DocumentDB endpoint.
Constructor and Description |
---|
DocDbSettings() |
Modifier and Type | Method and Description |
---|---|
DocDbSettings |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The database name on the DocumentDB source endpoint.
|
Integer |
getDocsToInvestigate()
Indicates the number of documents to preview to determine the document organization.
|
Boolean |
getExtractDocId()
Specifies the document ID.
|
String |
getKmsKeyId()
The KMS key identifier that is used to encrypt the content on the replication instance.
|
String |
getNestingLevel()
Specifies either document or table mode.
|
String |
getPassword()
The password for the user account you use to access the DocumentDB source endpoint.
|
Integer |
getPort()
The port value for the DocumentDB source endpoint.
|
String |
getSecretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret . |
String |
getSecretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the DocumentDB
endpoint connection details. |
String |
getServerName()
The name of the server on the DocumentDB source endpoint.
|
String |
getUsername()
The user name you use to access the DocumentDB source endpoint.
|
int |
hashCode() |
Boolean |
isExtractDocId()
Specifies the document ID.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabaseName(String databaseName)
The database name on the DocumentDB source endpoint.
|
void |
setDocsToInvestigate(Integer docsToInvestigate)
Indicates the number of documents to preview to determine the document organization.
|
void |
setExtractDocId(Boolean extractDocId)
Specifies the document ID.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier that is used to encrypt the content on the replication instance.
|
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 DocumentDB source endpoint.
|
void |
setPort(Integer port)
The port value for the DocumentDB source endpoint.
|
void |
setSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret . |
void |
setSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the DocumentDB
endpoint connection details. |
void |
setServerName(String serverName)
The name of the server on the DocumentDB source endpoint.
|
void |
setUsername(String username)
The user name you use to access the DocumentDB source endpoint.
|
String |
toString()
Returns a string representation of this object.
|
DocDbSettings |
withDatabaseName(String databaseName)
The database name on the DocumentDB source endpoint.
|
DocDbSettings |
withDocsToInvestigate(Integer docsToInvestigate)
Indicates the number of documents to preview to determine the document organization.
|
DocDbSettings |
withExtractDocId(Boolean extractDocId)
Specifies the document ID.
|
DocDbSettings |
withKmsKeyId(String kmsKeyId)
The KMS key identifier that is used to encrypt the content on the replication instance.
|
DocDbSettings |
withNestingLevel(NestingLevelValue nestingLevel)
Specifies either document or table mode.
|
DocDbSettings |
withNestingLevel(String nestingLevel)
Specifies either document or table mode.
|
DocDbSettings |
withPassword(String password)
The password for the user account you use to access the DocumentDB source endpoint.
|
DocDbSettings |
withPort(Integer port)
The port value for the DocumentDB source endpoint.
|
DocDbSettings |
withSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret . |
DocDbSettings |
withSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the DocumentDB
endpoint connection details. |
DocDbSettings |
withServerName(String serverName)
The name of the server on the DocumentDB source endpoint.
|
DocDbSettings |
withUsername(String username)
The user name you use to access the DocumentDB source endpoint.
|
public void setUsername(String username)
The user name you use to access the DocumentDB source endpoint.
username
- The user name you use to access the DocumentDB source endpoint.public String getUsername()
The user name you use to access the DocumentDB source endpoint.
public DocDbSettings withUsername(String username)
The user name you use to access the DocumentDB source endpoint.
username
- The user name you use to access the DocumentDB source endpoint.public void setPassword(String password)
The password for the user account you use to access the DocumentDB source endpoint.
password
- The password for the user account you use to access the DocumentDB source endpoint.public String getPassword()
The password for the user account you use to access the DocumentDB source endpoint.
public DocDbSettings withPassword(String password)
The password for the user account you use to access the DocumentDB source endpoint.
password
- The password for the user account you use to access the DocumentDB source endpoint.public void setServerName(String serverName)
The name of the server on the DocumentDB source endpoint.
serverName
- The name of the server on the DocumentDB source endpoint.public String getServerName()
The name of the server on the DocumentDB source endpoint.
public DocDbSettings withServerName(String serverName)
The name of the server on the DocumentDB source endpoint.
serverName
- The name of the server on the DocumentDB source endpoint.public void setPort(Integer port)
The port value for the DocumentDB source endpoint.
port
- The port value for the DocumentDB source endpoint.public Integer getPort()
The port value for the DocumentDB source endpoint.
public DocDbSettings withPort(Integer port)
The port value for the DocumentDB source endpoint.
port
- The port value for the DocumentDB source endpoint.public void setDatabaseName(String databaseName)
The database name on the DocumentDB source endpoint.
databaseName
- The database name on the DocumentDB source endpoint.public String getDatabaseName()
The database name on the DocumentDB source endpoint.
public DocDbSettings withDatabaseName(String databaseName)
The database name on the DocumentDB source endpoint.
databaseName
- The database name on the DocumentDB source endpoint.public void setNestingLevel(String nestingLevel)
Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
nestingLevel
- Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
NestingLevelValue
public String getNestingLevel()
Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
NestingLevelValue
public DocDbSettings withNestingLevel(String nestingLevel)
Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
nestingLevel
- Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
NestingLevelValue
public DocDbSettings withNestingLevel(NestingLevelValue nestingLevel)
Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
nestingLevel
- Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify
"one"
to use table mode.
NestingLevelValue
public void setExtractDocId(Boolean extractDocId)
Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
extractDocId
- Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
public Boolean getExtractDocId()
Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
NestingLevel
is set to "none"
.
Default value is "false"
.
public DocDbSettings withExtractDocId(Boolean extractDocId)
Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
extractDocId
- Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
public Boolean isExtractDocId()
Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
NestingLevel
is set to "none"
.
Default value is "false"
.
public void setDocsToInvestigate(Integer docsToInvestigate)
Indicates the number of documents to preview to determine the document organization. Use this setting 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 setting when
NestingLevel
is set to "one"
.
Must be a positive value greater than 0
. Default value is 1000
.
public Integer getDocsToInvestigate()
Indicates the number of documents to preview to determine the document organization. Use this setting 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 DocDbSettings withDocsToInvestigate(Integer docsToInvestigate)
Indicates the number of documents to preview to determine the document organization. Use this setting 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 setting when
NestingLevel
is set to "one"
.
Must be a positive value greater than 0
. Default value is 1000
.
public void setKmsKeyId(String kmsKeyId)
The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a
value for the KmsKeyId
parameter, then DMS uses your default encryption key. KMS creates the default
encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default
encryption key for each Amazon Web Services Region.
kmsKeyId
- The KMS key identifier that is used to encrypt the content on the replication instance. If you don't
specify a value for the KmsKeyId
parameter, then DMS uses your default encryption key. KMS
creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account
has a different default encryption key for each Amazon Web Services Region.public String getKmsKeyId()
The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a
value for the KmsKeyId
parameter, then DMS uses your default encryption key. KMS creates the default
encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default
encryption key for each Amazon Web Services Region.
KmsKeyId
parameter, then DMS uses your default encryption key. KMS
creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account
has a different default encryption key for each Amazon Web Services Region.public DocDbSettings withKmsKeyId(String kmsKeyId)
The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a
value for the KmsKeyId
parameter, then DMS uses your default encryption key. KMS creates the default
encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default
encryption key for each Amazon Web Services Region.
kmsKeyId
- The KMS key identifier that is used to encrypt the content on the replication instance. If you don't
specify a value for the KmsKeyId
parameter, then DMS uses your default encryption key. KMS
creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account
has a different default encryption key for each Amazon Web Services Region.public void setSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the DocumentDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values for UserName
,
Password
, ServerName
, and Port
. You can't specify both. For more
information on creating this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
secretsManagerAccessRoleArn
- The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants
the required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web
Services Secrets Manager secret that allows access to the DocumentDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId
. Or you can specify clear-text values for
UserName
, Password
, ServerName
, and Port
. You can't
specify both. For more information on creating this SecretsManagerSecret
and the
SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public String getSecretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the DocumentDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values for UserName
,
Password
, ServerName
, and Port
. You can't specify both. For more
information on creating this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
SecretsManagerSecret
. The role must allow
the iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web
Services Secrets Manager secret that allows access to the DocumentDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId
. Or you can specify clear-text values for
UserName
, Password
, ServerName
, and Port
. You can't
specify both. For more information on creating this SecretsManagerSecret
and the
SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public DocDbSettings withSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the DocumentDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values for UserName
,
Password
, ServerName
, and Port
. You can't specify both. For more
information on creating this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
secretsManagerAccessRoleArn
- The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants
the required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web
Services Secrets Manager secret that allows access to the DocumentDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId
. Or you can specify clear-text values for
UserName
, Password
, ServerName
, and Port
. You can't
specify both. For more information on creating this SecretsManagerSecret
and the
SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public void setSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the DocumentDB
endpoint connection details.
secretsManagerSecretId
- The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the
DocumentDB endpoint connection details.public String getSecretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the DocumentDB
endpoint connection details.
SecretsManagerSecret
that contains the
DocumentDB endpoint connection details.public DocDbSettings withSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the DocumentDB
endpoint connection details.
secretsManagerSecretId
- The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the
DocumentDB endpoint connection details.public String toString()
toString
in class Object
Object.toString()
public DocDbSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.