Interface TimestreamSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>,SdkBuilder<TimestreamSettings.Builder,TimestreamSettings>,SdkPojo
- Enclosing class:
- TimestreamSettings
@Mutable @NotThreadSafe public static interface TimestreamSettings.Builder extends SdkPojo, CopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimestreamSettings.BuildercdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)Set this attribute totrueto specify that DMS only applies inserts and updates, and not deletes.TimestreamSettings.BuilderdatabaseName(String databaseName)Database name for the endpoint.TimestreamSettings.BuilderenableMagneticStoreWrites(Boolean enableMagneticStoreWrites)Set this attribute totrueto enable memory store writes.TimestreamSettings.BuildermagneticDuration(Integer magneticDuration)Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days.TimestreamSettings.BuildermemoryDuration(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 Detail
-
databaseName
TimestreamSettings.Builder databaseName(String 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
TimestreamSettings.Builder 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. 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
TimestreamSettings.Builder magneticDuration(Integer 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
TimestreamSettings.Builder cdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
Set this attribute to
trueto 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 totrueto 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
TimestreamSettings.Builder enableMagneticStoreWrites(Boolean enableMagneticStoreWrites)
Set this attribute to
trueto 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 totrueto 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.
-
-