Interface TimestreamSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TimestreamSettings.Builder,
,TimestreamSettings> SdkBuilder<TimestreamSettings.Builder,
,TimestreamSettings> SdkPojo
- Enclosing class:
TimestreamSettings
-
Method Summary
Modifier and TypeMethodDescriptioncdcInsertsAndUpdates
(Boolean cdcInsertsAndUpdates) Set this attribute totrue
to specify that DMS only applies inserts and updates, and not deletes.databaseName
(String databaseName) Database name for the endpoint.enableMagneticStoreWrites
(Boolean enableMagneticStoreWrites) Set this attribute totrue
to enable memory store writes.magneticDuration
(Integer magneticDuration) Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days.memoryDuration
(Integer memoryDuration) Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
databaseName
Database name for the endpoint.
- Parameters:
databaseName
- Database name for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryDuration
Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.
- Parameters:
memoryDuration
- Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
magneticDuration
Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.
- Parameters:
magneticDuration
- Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdcInsertsAndUpdates
Set this attribute to
true
to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value isfalse
, DMS nulls out the corresponding record in the Timestream database rather than deleting it.- Parameters:
cdcInsertsAndUpdates
- Set this attribute totrue
to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value isfalse
, DMS nulls out the corresponding record in the Timestream database rather than deleting it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableMagneticStoreWrites
Set this attribute to
true
to enable memory store writes. When this value isfalse
, DMS does not write records that are older in days than the value specified inMagneticDuration
, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.- Parameters:
enableMagneticStoreWrites
- Set this attribute totrue
to enable memory store writes. When this value isfalse
, DMS does not write records that are older in days than the value specified inMagneticDuration
, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-