Class TimestreamSettings
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
Provides information that defines an Amazon Timestream endpoint.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TimestreamSettings.Builderbuilder()final BooleanSet this attribute totrueto specify that DMS only applies inserts and updates, and not deletes.final StringDatabase name for the endpoint.final BooleanSet this attribute totrueto enable memory store writes.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerSet this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days.final IntegerSet 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.static Class<? extends TimestreamSettings.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
databaseName
Database name for the endpoint.
- Returns:
- Database name for the endpoint.
-
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:
- 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.
-
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:
- 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.
-
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.- Returns:
- 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.
-
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.- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-