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) Indicates whether some other object is "equal to" this one by SDK fields.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> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-