@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Settings extends Object implements Serializable, Cloneable, StructuredPojo
Settings for exporting data to Amazon S3.
Constructor and Description |
---|
S3Settings() |
Modifier and Type | Method and Description |
---|---|
S3Settings |
clone() |
boolean |
equals(Object obj) |
String |
getBucketFolder()
An optional parameter to set a folder name in the S3 bucket.
|
String |
getBucketName()
The name of the S3 bucket.
|
Boolean |
getCdcInsertsAndUpdates()
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files.
|
Boolean |
getCdcInsertsOnly()
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files.
|
String |
getCompressionType()
An optional parameter to use GZIP to compress the target files.
|
String |
getCsvDelimiter()
The delimiter used to separate columns in the .csv file for both source and target.
|
String |
getCsvRowDelimiter()
The delimiter used to separate rows in the .csv file for both source and target.
|
String |
getDataFormat()
The format of the data that you want to use for output.
|
Integer |
getDataPageSize()
The size of one data page in bytes.
|
Integer |
getDictPageSizeLimit()
The maximum size of an encoded dictionary page of a column.
|
Boolean |
getEnableStatistics()
A value that enables statistics for Parquet pages and row groups.
|
String |
getEncodingType()
The type of encoding you are using:
|
String |
getEncryptionMode()
The type of server-side encryption that you want to use for your data.
|
String |
getExternalTableDefinition()
Specifies how tables are defined in the S3 source files only.
|
Boolean |
getIncludeOpForFullLoad()
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only
to indicate how the rows were added to the source database.
|
Boolean |
getParquetTimestampInMillisecond()
A value that specifies the precision of any
TIMESTAMP column values that are written to an Amazon S3
object file in .parquet format. |
String |
getParquetVersion()
The version of the Apache Parquet format that you want to use:
parquet_1_0 (the default) or
parquet_2_0 . |
Integer |
getRowGroupLength()
The number of rows in a row group.
|
String |
getServerSideEncryptionKmsKeyId()
If you are using
SSE_KMS for the EncryptionMode , provide the AWS KMS key ID. |
String |
getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
|
String |
getTimestampColumnName()
A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data for an
Amazon S3 target.
|
int |
hashCode() |
Boolean |
isCdcInsertsAndUpdates()
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files.
|
Boolean |
isCdcInsertsOnly()
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files.
|
Boolean |
isEnableStatistics()
A value that enables statistics for Parquet pages and row groups.
|
Boolean |
isIncludeOpForFullLoad()
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only
to indicate how the rows were added to the source database.
|
Boolean |
isParquetTimestampInMillisecond()
A value that specifies the precision of any
TIMESTAMP column values that are written to an Amazon S3
object file in .parquet format. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket.
|
void |
setBucketName(String bucketName)
The name of the S3 bucket.
|
void |
setCdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files.
|
void |
setCdcInsertsOnly(Boolean cdcInsertsOnly)
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files.
|
void |
setCompressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files.
|
void |
setCompressionType(String compressionType)
An optional parameter to use GZIP to compress the target files.
|
void |
setCsvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the .csv file for both source and target.
|
void |
setCsvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the .csv file for both source and target.
|
void |
setDataFormat(DataFormatValue dataFormat)
The format of the data that you want to use for output.
|
void |
setDataFormat(String dataFormat)
The format of the data that you want to use for output.
|
void |
setDataPageSize(Integer dataPageSize)
The size of one data page in bytes.
|
void |
setDictPageSizeLimit(Integer dictPageSizeLimit)
The maximum size of an encoded dictionary page of a column.
|
void |
setEnableStatistics(Boolean enableStatistics)
A value that enables statistics for Parquet pages and row groups.
|
void |
setEncodingType(EncodingTypeValue encodingType)
The type of encoding you are using:
|
void |
setEncodingType(String encodingType)
The type of encoding you are using:
|
void |
setEncryptionMode(EncryptionModeValue encryptionMode)
The type of server-side encryption that you want to use for your data.
|
void |
setEncryptionMode(String encryptionMode)
The type of server-side encryption that you want to use for your data.
|
void |
setExternalTableDefinition(String externalTableDefinition)
Specifies how tables are defined in the S3 source files only.
|
void |
setIncludeOpForFullLoad(Boolean includeOpForFullLoad)
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only
to indicate how the rows were added to the source database.
|
void |
setParquetTimestampInMillisecond(Boolean parquetTimestampInMillisecond)
A value that specifies the precision of any
TIMESTAMP column values that are written to an Amazon S3
object file in .parquet format. |
void |
setParquetVersion(ParquetVersionValue parquetVersion)
The version of the Apache Parquet format that you want to use:
parquet_1_0 (the default) or
parquet_2_0 . |
void |
setParquetVersion(String parquetVersion)
The version of the Apache Parquet format that you want to use:
parquet_1_0 (the default) or
parquet_2_0 . |
void |
setRowGroupLength(Integer rowGroupLength)
The number of rows in a row group.
|
void |
setServerSideEncryptionKmsKeyId(String serverSideEncryptionKmsKeyId)
If you are using
SSE_KMS for the EncryptionMode , provide the AWS KMS key ID. |
void |
setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
|
void |
setTimestampColumnName(String timestampColumnName)
A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data for an
Amazon S3 target.
|
String |
toString()
Returns a string representation of this object.
|
S3Settings |
withBucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket.
|
S3Settings |
withBucketName(String bucketName)
The name of the S3 bucket.
|
S3Settings |
withCdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files.
|
S3Settings |
withCdcInsertsOnly(Boolean cdcInsertsOnly)
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files.
|
S3Settings |
withCompressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files.
|
S3Settings |
withCompressionType(String compressionType)
An optional parameter to use GZIP to compress the target files.
|
S3Settings |
withCsvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the .csv file for both source and target.
|
S3Settings |
withCsvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the .csv file for both source and target.
|
S3Settings |
withDataFormat(DataFormatValue dataFormat)
The format of the data that you want to use for output.
|
S3Settings |
withDataFormat(String dataFormat)
The format of the data that you want to use for output.
|
S3Settings |
withDataPageSize(Integer dataPageSize)
The size of one data page in bytes.
|
S3Settings |
withDictPageSizeLimit(Integer dictPageSizeLimit)
The maximum size of an encoded dictionary page of a column.
|
S3Settings |
withEnableStatistics(Boolean enableStatistics)
A value that enables statistics for Parquet pages and row groups.
|
S3Settings |
withEncodingType(EncodingTypeValue encodingType)
The type of encoding you are using:
|
S3Settings |
withEncodingType(String encodingType)
The type of encoding you are using:
|
S3Settings |
withEncryptionMode(EncryptionModeValue encryptionMode)
The type of server-side encryption that you want to use for your data.
|
S3Settings |
withEncryptionMode(String encryptionMode)
The type of server-side encryption that you want to use for your data.
|
S3Settings |
withExternalTableDefinition(String externalTableDefinition)
Specifies how tables are defined in the S3 source files only.
|
S3Settings |
withIncludeOpForFullLoad(Boolean includeOpForFullLoad)
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only
to indicate how the rows were added to the source database.
|
S3Settings |
withParquetTimestampInMillisecond(Boolean parquetTimestampInMillisecond)
A value that specifies the precision of any
TIMESTAMP column values that are written to an Amazon S3
object file in .parquet format. |
S3Settings |
withParquetVersion(ParquetVersionValue parquetVersion)
The version of the Apache Parquet format that you want to use:
parquet_1_0 (the default) or
parquet_2_0 . |
S3Settings |
withParquetVersion(String parquetVersion)
The version of the Apache Parquet format that you want to use:
parquet_1_0 (the default) or
parquet_2_0 . |
S3Settings |
withRowGroupLength(Integer rowGroupLength)
The number of rows in a row group.
|
S3Settings |
withServerSideEncryptionKmsKeyId(String serverSideEncryptionKmsKeyId)
If you are using
SSE_KMS for the EncryptionMode , provide the AWS KMS key ID. |
S3Settings |
withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
|
S3Settings |
withTimestampColumnName(String timestampColumnName)
A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data for an
Amazon S3 target.
|
public void setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role. It is a required parameter that enables DMS to write and read objects from an 3S bucket.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role. It is a required parameter that
enables DMS to write and read objects from an 3S bucket.public String getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role. It is a required parameter that enables DMS to write and read objects from an 3S bucket.
public S3Settings withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role. It is a required parameter that enables DMS to write and read objects from an 3S bucket.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role. It is a required parameter that
enables DMS to write and read objects from an 3S bucket.public void setExternalTableDefinition(String externalTableDefinition)
Specifies how tables are defined in the S3 source files only.
externalTableDefinition
- Specifies how tables are defined in the S3 source files only.public String getExternalTableDefinition()
Specifies how tables are defined in the S3 source files only.
public S3Settings withExternalTableDefinition(String externalTableDefinition)
Specifies how tables are defined in the S3 source files only.
externalTableDefinition
- Specifies how tables are defined in the S3 source files only.public void setCsvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return
(\n
).
csvRowDelimiter
- The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage
return (\n
).public String getCsvRowDelimiter()
The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return
(\n
).
\n
).public S3Settings withCsvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return
(\n
).
csvRowDelimiter
- The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage
return (\n
).public void setCsvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.
csvDelimiter
- The delimiter used to separate columns in the .csv file for both source and target. The default is a
comma.public String getCsvDelimiter()
The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.
public S3Settings withCsvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.
csvDelimiter
- The delimiter used to separate columns in the .csv file for both source and target. The default is a
comma.public void setBucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path
bucketFolder/schema_name/table_name/
. If this parameter isn't specified, then
the path used is schema_name/table_name/
.
bucketFolder
- An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path
bucketFolder/schema_name/table_name/
. If this parameter isn't
specified, then the path used is schema_name/table_name/
.public String getBucketFolder()
An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path
bucketFolder/schema_name/table_name/
. If this parameter isn't specified, then
the path used is schema_name/table_name/
.
bucketFolder/schema_name/table_name/
. If this parameter isn't
specified, then the path used is schema_name/table_name/
.public S3Settings withBucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path
bucketFolder/schema_name/table_name/
. If this parameter isn't specified, then
the path used is schema_name/table_name/
.
bucketFolder
- An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path
bucketFolder/schema_name/table_name/
. If this parameter isn't
specified, then the path used is schema_name/table_name/
.public void setBucketName(String bucketName)
The name of the S3 bucket.
bucketName
- The name of the S3 bucket.public String getBucketName()
The name of the S3 bucket.
public S3Settings withBucketName(String bucketName)
The name of the S3 bucket.
bucketName
- The name of the S3 bucket.public void setCompressionType(String compressionType)
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.
compressionType
- An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files.
Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This
parameter applies to both .csv and .parquet file formats.CompressionTypeValue
public String getCompressionType()
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.
CompressionTypeValue
public S3Settings withCompressionType(String compressionType)
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.
compressionType
- An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files.
Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This
parameter applies to both .csv and .parquet file formats.CompressionTypeValue
public void setCompressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.
compressionType
- An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files.
Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This
parameter applies to both .csv and .parquet file formats.CompressionTypeValue
public S3Settings withCompressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.
compressionType
- An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files.
Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This
parameter applies to both .csv and .parquet file formats.CompressionTypeValue
public void setEncryptionMode(String encryptionMode)
The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t change the
existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to allow
"arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
encryptionMode
- The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t
change the existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to
allow "arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
EncryptionModeValue
public String getEncryptionMode()
The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t change the
existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to allow
"arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t
change the existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to
allow "arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
EncryptionModeValue
public S3Settings withEncryptionMode(String encryptionMode)
The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t change the
existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to allow
"arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
encryptionMode
- The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t
change the existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to
allow "arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
EncryptionModeValue
public void setEncryptionMode(EncryptionModeValue encryptionMode)
The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t change the
existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to allow
"arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
encryptionMode
- The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t
change the existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to
allow "arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
EncryptionModeValue
public S3Settings withEncryptionMode(EncryptionModeValue encryptionMode)
The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t change the
existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to allow
"arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
encryptionMode
- The type of server-side encryption that you want to use for your data. This encryption type is part of the
endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3
(the default) or SSE_KMS
.
For the ModifyEndpoint
operation, you can change the existing value of the
EncryptionMode
parameter from SSE_KMS
to SSE_S3
. But you can’t
change the existing value from SSE_S3
to SSE_KMS
.
To use SSE_S3
, you need an AWS Identity and Access Management (IAM) role with permission to
allow "arn:aws:s3:::dms-*"
to use the following actions:
s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
EncryptionModeValue
public void setServerSideEncryptionKmsKeyId(String serverSideEncryptionKmsKeyId)
If you are using SSE_KMS
for the EncryptionMode
, provide the AWS KMS key ID. The key
that you use needs an attached policy that enables AWS Identity and Access Management (IAM) user permissions and
allows use of the key.
Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
serverSideEncryptionKmsKeyId
- If you are using SSE_KMS
for the EncryptionMode
, provide the AWS KMS key ID. The
key that you use needs an attached policy that enables AWS Identity and Access Management (IAM) user
permissions and allows use of the key.
Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
public String getServerSideEncryptionKmsKeyId()
If you are using SSE_KMS
for the EncryptionMode
, provide the AWS KMS key ID. The key
that you use needs an attached policy that enables AWS Identity and Access Management (IAM) user permissions and
allows use of the key.
Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
SSE_KMS
for the EncryptionMode
, provide the AWS KMS key ID.
The key that you use needs an attached policy that enables AWS Identity and Access Management (IAM) user
permissions and allows use of the key.
Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
public S3Settings withServerSideEncryptionKmsKeyId(String serverSideEncryptionKmsKeyId)
If you are using SSE_KMS
for the EncryptionMode
, provide the AWS KMS key ID. The key
that you use needs an attached policy that enables AWS Identity and Access Management (IAM) user permissions and
allows use of the key.
Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
serverSideEncryptionKmsKeyId
- If you are using SSE_KMS
for the EncryptionMode
, provide the AWS KMS key ID. The
key that you use needs an attached policy that enables AWS Identity and Access Management (IAM) user
permissions and allows use of the key.
Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
public void setDataFormat(String dataFormat)
The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
dataFormat
- The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
DataFormatValue
public String getDataFormat()
The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features
efficient compression and provides faster query response.
DataFormatValue
public S3Settings withDataFormat(String dataFormat)
The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
dataFormat
- The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
DataFormatValue
public void setDataFormat(DataFormatValue dataFormat)
The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
dataFormat
- The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
DataFormatValue
public S3Settings withDataFormat(DataFormatValue dataFormat)
The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
dataFormat
- The format of the data that you want to use for output. You can choose one of the following:
csv
: This is a row-based file format with comma-separated values (.csv).
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient
compression and provides faster query response.
DataFormatValue
public void setEncodingType(String encodingType)
The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated values
more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The dictionary is
stored in a dictionary page for each column chunk.
encodingType
- The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated
values more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The
dictionary is stored in a dictionary page for each column chunk.
EncodingTypeValue
public String getEncodingType()
The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated values
more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The dictionary is
stored in a dictionary page for each column chunk.
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated
values more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The
dictionary is stored in a dictionary page for each column chunk.
EncodingTypeValue
public S3Settings withEncodingType(String encodingType)
The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated values
more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The dictionary is
stored in a dictionary page for each column chunk.
encodingType
- The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated
values more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The
dictionary is stored in a dictionary page for each column chunk.
EncodingTypeValue
public void setEncodingType(EncodingTypeValue encodingType)
The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated values
more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The dictionary is
stored in a dictionary page for each column chunk.
encodingType
- The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated
values more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The
dictionary is stored in a dictionary page for each column chunk.
EncodingTypeValue
public S3Settings withEncodingType(EncodingTypeValue encodingType)
The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated values
more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The dictionary is
stored in a dictionary page for each column chunk.
encodingType
- The type of encoding you are using:
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated
values more efficiently. This is the default.
PLAIN
doesn't use encoding at all. Values are stored as they are.
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The
dictionary is stored in a dictionary page for each column chunk.
EncodingTypeValue
public void setDictPageSizeLimit(Integer dictPageSizeLimit)
The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is
stored using an encoding type of PLAIN
. This parameter defaults to 1024 * 1024 bytes (1 MiB), the
maximum size of a dictionary page before it reverts to PLAIN
encoding. This size is used for
.parquet file format only.
dictPageSizeLimit
- The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this
column is stored using an encoding type of PLAIN
. This parameter defaults to 1024 * 1024
bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN
encoding.
This size is used for .parquet file format only.public Integer getDictPageSizeLimit()
The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is
stored using an encoding type of PLAIN
. This parameter defaults to 1024 * 1024 bytes (1 MiB), the
maximum size of a dictionary page before it reverts to PLAIN
encoding. This size is used for
.parquet file format only.
PLAIN
. This parameter defaults to 1024 * 1024
bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN
encoding.
This size is used for .parquet file format only.public S3Settings withDictPageSizeLimit(Integer dictPageSizeLimit)
The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is
stored using an encoding type of PLAIN
. This parameter defaults to 1024 * 1024 bytes (1 MiB), the
maximum size of a dictionary page before it reverts to PLAIN
encoding. This size is used for
.parquet file format only.
dictPageSizeLimit
- The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this
column is stored using an encoding type of PLAIN
. This parameter defaults to 1024 * 1024
bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN
encoding.
This size is used for .parquet file format only.public void setRowGroupLength(Integer rowGroupLength)
The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.
If you choose a value larger than the maximum, RowGroupLength
is set to the max row group length in
bytes (64 * 1024 * 1024).
rowGroupLength
- The number of rows in a row group. A smaller row group size provides faster reads. But as the number of
row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used
for .parquet file format only.
If you choose a value larger than the maximum, RowGroupLength
is set to the max row group
length in bytes (64 * 1024 * 1024).
public Integer getRowGroupLength()
The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.
If you choose a value larger than the maximum, RowGroupLength
is set to the max row group length in
bytes (64 * 1024 * 1024).
If you choose a value larger than the maximum, RowGroupLength
is set to the max row group
length in bytes (64 * 1024 * 1024).
public S3Settings withRowGroupLength(Integer rowGroupLength)
The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.
If you choose a value larger than the maximum, RowGroupLength
is set to the max row group length in
bytes (64 * 1024 * 1024).
rowGroupLength
- The number of rows in a row group. A smaller row group size provides faster reads. But as the number of
row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used
for .parquet file format only.
If you choose a value larger than the maximum, RowGroupLength
is set to the max row group
length in bytes (64 * 1024 * 1024).
public void setDataPageSize(Integer dataPageSize)
The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.
dataPageSize
- The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is
used for .parquet file format only.public Integer getDataPageSize()
The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.
public S3Settings withDataPageSize(Integer dataPageSize)
The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.
dataPageSize
- The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is
used for .parquet file format only.public void setParquetVersion(String parquetVersion)
The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.
parquetVersion
- The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.ParquetVersionValue
public String getParquetVersion()
The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.
parquet_1_0
(the default) or
parquet_2_0
.ParquetVersionValue
public S3Settings withParquetVersion(String parquetVersion)
The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.
parquetVersion
- The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.ParquetVersionValue
public void setParquetVersion(ParquetVersionValue parquetVersion)
The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.
parquetVersion
- The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.ParquetVersionValue
public S3Settings withParquetVersion(ParquetVersionValue parquetVersion)
The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.
parquetVersion
- The version of the Apache Parquet format that you want to use: parquet_1_0
(the default) or
parquet_2_0
.ParquetVersionValue
public void setEnableStatistics(Boolean enableStatistics)
A value that enables statistics for Parquet pages and row groups. Choose true
to enable statistics,
false
to disable. Statistics include NULL
, DISTINCT
, MAX
, and
MIN
values. This parameter defaults to true
. This value is used for .parquet file
format only.
enableStatistics
- A value that enables statistics for Parquet pages and row groups. Choose true
to enable
statistics, false
to disable. Statistics include NULL
, DISTINCT
,
MAX
, and MIN
values. This parameter defaults to true
. This value is
used for .parquet file format only.public Boolean getEnableStatistics()
A value that enables statistics for Parquet pages and row groups. Choose true
to enable statistics,
false
to disable. Statistics include NULL
, DISTINCT
, MAX
, and
MIN
values. This parameter defaults to true
. This value is used for .parquet file
format only.
true
to enable
statistics, false
to disable. Statistics include NULL
, DISTINCT
,
MAX
, and MIN
values. This parameter defaults to true
. This value
is used for .parquet file format only.public S3Settings withEnableStatistics(Boolean enableStatistics)
A value that enables statistics for Parquet pages and row groups. Choose true
to enable statistics,
false
to disable. Statistics include NULL
, DISTINCT
, MAX
, and
MIN
values. This parameter defaults to true
. This value is used for .parquet file
format only.
enableStatistics
- A value that enables statistics for Parquet pages and row groups. Choose true
to enable
statistics, false
to disable. Statistics include NULL
, DISTINCT
,
MAX
, and MIN
values. This parameter defaults to true
. This value is
used for .parquet file format only.public Boolean isEnableStatistics()
A value that enables statistics for Parquet pages and row groups. Choose true
to enable statistics,
false
to disable. Statistics include NULL
, DISTINCT
, MAX
, and
MIN
values. This parameter defaults to true
. This value is used for .parquet file
format only.
true
to enable
statistics, false
to disable. Statistics include NULL
, DISTINCT
,
MAX
, and MIN
values. This parameter defaults to true
. This value
is used for .parquet file format only.public void setIncludeOpForFullLoad(Boolean includeOpForFullLoad)
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only to indicate how the rows were added to the source database.
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information is
recorded in these output files for a full load to indicate that the rows were inserted at the source database. If
IncludeOpForFullLoad
is set to true
or y
, the INSERT is recorded as an I
annotation in the first field of the .csv file. This allows the format of your target records from a full load to
be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see
Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User Guide..
includeOpForFullLoad
- A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output
files only to indicate how the rows were added to the source database.
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information
is recorded in these output files for a full load to indicate that the rows were inserted at the source
database. If IncludeOpForFullLoad
is set to true
or y
, the INSERT
is recorded as an I annotation in the first field of the .csv file. This allows the format of your target
records from a full load to be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see
Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
public Boolean getIncludeOpForFullLoad()
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only to indicate how the rows were added to the source database.
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information is
recorded in these output files for a full load to indicate that the rows were inserted at the source database. If
IncludeOpForFullLoad
is set to true
or y
, the INSERT is recorded as an I
annotation in the first field of the .csv file. This allows the format of your target records from a full load to
be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see
Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User Guide..
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information
is recorded in these output files for a full load to indicate that the rows were inserted at the source
database. If IncludeOpForFullLoad
is set to true
or y
, the INSERT
is recorded as an I annotation in the first field of the .csv file. This allows the format of your target
records from a full load to be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the
CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about
how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
public S3Settings withIncludeOpForFullLoad(Boolean includeOpForFullLoad)
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only to indicate how the rows were added to the source database.
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information is
recorded in these output files for a full load to indicate that the rows were inserted at the source database. If
IncludeOpForFullLoad
is set to true
or y
, the INSERT is recorded as an I
annotation in the first field of the .csv file. This allows the format of your target records from a full load to
be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see
Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User Guide..
includeOpForFullLoad
- A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output
files only to indicate how the rows were added to the source database.
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information
is recorded in these output files for a full load to indicate that the rows were inserted at the source
database. If IncludeOpForFullLoad
is set to true
or y
, the INSERT
is recorded as an I annotation in the first field of the .csv file. This allows the format of your target
records from a full load to be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see
Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
public Boolean isIncludeOpForFullLoad()
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) output files only to indicate how the rows were added to the source database.
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information is
recorded in these output files for a full load to indicate that the rows were inserted at the source database. If
IncludeOpForFullLoad
is set to true
or y
, the INSERT is recorded as an I
annotation in the first field of the .csv file. This allows the format of your target records from a full load to
be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see
Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User Guide..
AWS DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and later.
For full load, records can only be inserted. By default (the false
setting), no information
is recorded in these output files for a full load to indicate that the rows were inserted at the source
database. If IncludeOpForFullLoad
is set to true
or y
, the INSERT
is recorded as an I annotation in the first field of the .csv file. This allows the format of your target
records from a full load to be consistent with the target records from a CDC load.
This setting works together with the CdcInsertsOnly
and the
CdcInsertsAndUpdates
parameters for output to .csv files only. For more information about
how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
public void setCdcInsertsOnly(Boolean cdcInsertsOnly)
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files. By default (the false
setting), the first field in a .csv or .parquet
record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was
inserted, updated, or deleted at the source database for a CDC load to the target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the source
database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends
on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to I to indicate the INSERT operation at the
source. If IncludeOpForFullLoad
is set to false
, every CDC record is written without a
first field to indicate the INSERT operation at the source. For more information about how these settings work
together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
cdcInsertsOnly
- A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar
storage (.parquet) output files. By default (the false
setting), the first field in a .csv or
.parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether
the row was inserted, updated, or deleted at the source database for a CDC load to the target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the source
database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded
depends on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to I to indicate the INSERT operation at the
source. If IncludeOpForFullLoad
is set to false
, every CDC record is written
without a first field to indicate the INSERT operation at the source. For more information about how these
settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public Boolean getCdcInsertsOnly()
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files. By default (the false
setting), the first field in a .csv or .parquet
record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was
inserted, updated, or deleted at the source database for a CDC load to the target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the source
database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends
on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to I to indicate the INSERT operation at the
source. If IncludeOpForFullLoad
is set to false
, every CDC record is written without a
first field to indicate the INSERT operation at the source. For more information about how these settings work
together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
false
setting), the first field in a .csv
or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate
whether the row was inserted, updated, or deleted at the source database for a CDC load to the
target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the
source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are
recorded depends on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to true
, the first field of every CDC record is set to I to indicate the INSERT
operation at the source. If IncludeOpForFullLoad
is set to false
, every CDC
record is written without a first field to indicate the INSERT operation at the source. For more
information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public S3Settings withCdcInsertsOnly(Boolean cdcInsertsOnly)
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files. By default (the false
setting), the first field in a .csv or .parquet
record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was
inserted, updated, or deleted at the source database for a CDC load to the target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the source
database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends
on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to I to indicate the INSERT operation at the
source. If IncludeOpForFullLoad
is set to false
, every CDC record is written without a
first field to indicate the INSERT operation at the source. For more information about how these settings work
together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
cdcInsertsOnly
- A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar
storage (.parquet) output files. By default (the false
setting), the first field in a .csv or
.parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether
the row was inserted, updated, or deleted at the source database for a CDC load to the target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the source
database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded
depends on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to I to indicate the INSERT operation at the
source. If IncludeOpForFullLoad
is set to false
, every CDC record is written
without a first field to indicate the INSERT operation at the source. For more information about how these
settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public Boolean isCdcInsertsOnly()
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage
(.parquet) output files. By default (the false
setting), the first field in a .csv or .parquet
record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was
inserted, updated, or deleted at the source database for a CDC load to the target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the source
database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends
on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to I to indicate the INSERT operation at the
source. If IncludeOpForFullLoad
is set to false
, every CDC record is written without a
first field to indicate the INSERT operation at the source. For more information about how these settings work
together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
false
setting), the first field in a .csv
or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate
whether the row was inserted, updated, or deleted at the source database for a CDC load to the
target.
If CdcInsertsOnly
is set to true
or y
, only INSERTs from the
source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are
recorded depends on the value of IncludeOpForFullLoad
. If IncludeOpForFullLoad
is set to true
, the first field of every CDC record is set to I to indicate the INSERT
operation at the source. If IncludeOpForFullLoad
is set to false
, every CDC
record is written without a first field to indicate the INSERT operation at the source. For more
information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the interaction described preceding between the CdcInsertsOnly
and
IncludeOpForFullLoad
parameters in versions 3.1.4 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public void setTimestampColumnName(String timestampColumnName)
A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.
AWS DMS supports the TimestampColumnName
parameter in versions 3.1.4 and later.
DMS includes an additional STRING
column in the .csv or .parquet object files of your migrated data
when you set TimestampColumnName
to a nonblank value.
For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
. By default, the
precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit
timestamp supported by DMS for the source database.
When the AddColumnName
parameter is set to true
, DMS also includes a name for the
timestamp column that you set with TimestampColumnName
.
timestampColumnName
- A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data
for an Amazon S3 target.
AWS DMS supports the TimestampColumnName
parameter in versions 3.1.4 and later.
DMS includes an additional STRING
column in the .csv or .parquet object files of your
migrated data when you set TimestampColumnName
to a nonblank value.
For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
. By default,
the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on
the commit timestamp supported by DMS for the source database.
When the AddColumnName
parameter is set to true
, DMS also includes a name for
the timestamp column that you set with TimestampColumnName
.
public String getTimestampColumnName()
A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.
AWS DMS supports the TimestampColumnName
parameter in versions 3.1.4 and later.
DMS includes an additional STRING
column in the .csv or .parquet object files of your migrated data
when you set TimestampColumnName
to a nonblank value.
For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
. By default, the
precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit
timestamp supported by DMS for the source database.
When the AddColumnName
parameter is set to true
, DMS also includes a name for the
timestamp column that you set with TimestampColumnName
.
AWS DMS supports the TimestampColumnName
parameter in versions 3.1.4 and later.
DMS includes an additional STRING
column in the .csv or .parquet object files of your
migrated data when you set TimestampColumnName
to a nonblank value.
For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
. By default,
the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on
the commit timestamp supported by DMS for the source database.
When the AddColumnName
parameter is set to true
, DMS also includes a name for
the timestamp column that you set with TimestampColumnName
.
public S3Settings withTimestampColumnName(String timestampColumnName)
A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.
AWS DMS supports the TimestampColumnName
parameter in versions 3.1.4 and later.
DMS includes an additional STRING
column in the .csv or .parquet object files of your migrated data
when you set TimestampColumnName
to a nonblank value.
For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
. By default, the
precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit
timestamp supported by DMS for the source database.
When the AddColumnName
parameter is set to true
, DMS also includes a name for the
timestamp column that you set with TimestampColumnName
.
timestampColumnName
- A value that when nonblank causes AWS DMS to add a column with timestamp information to the endpoint data
for an Amazon S3 target.
AWS DMS supports the TimestampColumnName
parameter in versions 3.1.4 and later.
DMS includes an additional STRING
column in the .csv or .parquet object files of your
migrated data when you set TimestampColumnName
to a nonblank value.
For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
. By default,
the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on
the commit timestamp supported by DMS for the source database.
When the AddColumnName
parameter is set to true
, DMS also includes a name for
the timestamp column that you set with TimestampColumnName
.
public void setParquetTimestampInMillisecond(Boolean parquetTimestampInMillisecond)
A value that specifies the precision of any TIMESTAMP
column values that are written to an Amazon S3
object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS writes all
TIMESTAMP
columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes
them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values.
Set this parameter to true
for S3 endpoint object files that are .parquet formatted only if you plan
to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with microsecond
precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp column
value that is inserted by setting the TimestampColumnName
parameter.
parquetTimestampInMillisecond
- A value that specifies the precision of any TIMESTAMP
column values that are written to an
Amazon S3 object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS
writes all TIMESTAMP
columns in a .parquet formatted file with millisecond precision.
Otherwise, DMS writes them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values. Set this parameter to true
for S3 endpoint object files that are .parquet formatted
only if you plan to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with
microsecond precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp
column value that is inserted by setting the TimestampColumnName
parameter.
public Boolean getParquetTimestampInMillisecond()
A value that specifies the precision of any TIMESTAMP
column values that are written to an Amazon S3
object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS writes all
TIMESTAMP
columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes
them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values.
Set this parameter to true
for S3 endpoint object files that are .parquet formatted only if you plan
to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with microsecond
precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp column
value that is inserted by setting the TimestampColumnName
parameter.
TIMESTAMP
column values that are written to an
Amazon S3 object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS
writes all TIMESTAMP
columns in a .parquet formatted file with millisecond precision.
Otherwise, DMS writes them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values. Set this parameter to true
for S3 endpoint object files that are .parquet formatted
only if you plan to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with
microsecond precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp
column value that is inserted by setting the TimestampColumnName
parameter.
public S3Settings withParquetTimestampInMillisecond(Boolean parquetTimestampInMillisecond)
A value that specifies the precision of any TIMESTAMP
column values that are written to an Amazon S3
object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS writes all
TIMESTAMP
columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes
them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values.
Set this parameter to true
for S3 endpoint object files that are .parquet formatted only if you plan
to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with microsecond
precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp column
value that is inserted by setting the TimestampColumnName
parameter.
parquetTimestampInMillisecond
- A value that specifies the precision of any TIMESTAMP
column values that are written to an
Amazon S3 object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS
writes all TIMESTAMP
columns in a .parquet formatted file with millisecond precision.
Otherwise, DMS writes them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values. Set this parameter to true
for S3 endpoint object files that are .parquet formatted
only if you plan to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with
microsecond precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp
column value that is inserted by setting the TimestampColumnName
parameter.
public Boolean isParquetTimestampInMillisecond()
A value that specifies the precision of any TIMESTAMP
column values that are written to an Amazon S3
object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS writes all
TIMESTAMP
columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes
them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values.
Set this parameter to true
for S3 endpoint object files that are .parquet formatted only if you plan
to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with microsecond
precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp column
value that is inserted by setting the TimestampColumnName
parameter.
TIMESTAMP
column values that are written to an
Amazon S3 object file in .parquet format.
AWS DMS supports the ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.
When ParquetTimestampInMillisecond
is set to true
or y
, AWS DMS
writes all TIMESTAMP
columns in a .parquet formatted file with millisecond precision.
Otherwise, DMS writes them with microsecond precision.
Currently, Amazon Athena and AWS Glue can handle only millisecond precision for TIMESTAMP
values. Set this parameter to true
for S3 endpoint object files that are .parquet formatted
only if you plan to query or process the data with Athena or AWS Glue.
AWS DMS writes any TIMESTAMP
column values written to an S3 file in .csv format with
microsecond precision.
Setting ParquetTimestampInMillisecond
has no effect on the string format of the timestamp
column value that is inserted by setting the TimestampColumnName
parameter.
public void setCdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files. The default setting is false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs from
the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to true
,
the first field of every CDC record is set to either I
or U
to indicate INSERT and
UPDATE operations at the source. But if IncludeOpForFullLoad
is set to false
, CDC
records are written without an indication of INSERT or UPDATE operations at the source. For more information
about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
cdcInsertsAndUpdates
- A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or
.parquet (columnar storage) output files. The default setting is false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs
from the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to either I
or U
to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad
is set to
false
, CDC records are written without an indication of INSERT or UPDATE operations at the
source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public Boolean getCdcInsertsAndUpdates()
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files. The default setting is false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs from
the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to true
,
the first field of every CDC record is set to either I
or U
to indicate INSERT and
UPDATE operations at the source. But if IncludeOpForFullLoad
is set to false
, CDC
records are written without an indication of INSERT or UPDATE operations at the source. For more information
about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs
from the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to either I
or U
to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad
is set
to false
, CDC records are written without an indication of INSERT or UPDATE operations at
the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public S3Settings withCdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files. The default setting is false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs from
the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to true
,
the first field of every CDC record is set to either I
or U
to indicate INSERT and
UPDATE operations at the source. But if IncludeOpForFullLoad
is set to false
, CDC
records are written without an indication of INSERT or UPDATE operations at the source. For more information
about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
cdcInsertsAndUpdates
- A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or
.parquet (columnar storage) output files. The default setting is false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs
from the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to either I
or U
to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad
is set to
false
, CDC records are written without an indication of INSERT or UPDATE operations at the
source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public Boolean isCdcInsertsAndUpdates()
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet
(columnar storage) output files. The default setting is false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs from
the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to true
,
the first field of every CDC record is set to either I
or U
to indicate INSERT and
UPDATE operations at the source. But if IncludeOpForFullLoad
is set to false
, CDC
records are written without an indication of INSERT or UPDATE operations at the source. For more information
about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the
same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to true
for the same endpoint, but not both.
false
, but when
CdcInsertsAndUpdates
is set to true
or y
, only INSERTs and UPDATEs
from the source database are migrated to the .csv or .parquet file.
For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. If IncludeOpForFullLoad
is set to
true
, the first field of every CDC record is set to either I
or U
to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad
is set
to false
, CDC records are written without an indication of INSERT or UPDATE operations at
the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User
Guide..
AWS DMS supports the use of the CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.
CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set to true
for the same endpoint. Set either CdcInsertsOnly
or CdcInsertsAndUpdates
to
true
for the same endpoint, but not both.
public String toString()
toString
in class Object
Object.toString()
public S3Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.