Class TimestreamSettings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TimestreamSettings.Builder,
TimestreamSettings>
Provides information that defines an Amazon Timestream endpoint.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TimestreamSettings.Builder
builder()
final Boolean
Set this attribute totrue
to specify that DMS only applies inserts and updates, and not deletes.final String
Database name for the endpoint.final Boolean
Set this attribute totrue
to enable memory store writes.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Integer
Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days.final Integer
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.static Class
<? extends TimestreamSettings.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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
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.- Returns:
- 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.
-
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.- Returns:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TimestreamSettings.Builder,
TimestreamSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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
-