Class TimestreamSettings
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.TimestreamSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
@Generated("software.amazon.awssdk:codegen") public final class TimestreamSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
Provides information that defines an Amazon Timestream endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimestreamSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestreamSettings.Builderbuilder()BooleancdcInsertsAndUpdates()Set this attribute totrueto specify that DMS only applies inserts and updates, and not deletes.StringdatabaseName()Database name for the endpoint.BooleanenableMagneticStoreWrites()Set this attribute totrueto enable memory store writes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermagneticDuration()Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days.IntegermemoryDuration()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.List<SdkField<?>>sdkFields()static Class<? extends TimestreamSettings.Builder>serializableBuilderClass()TimestreamSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
databaseName
public final String databaseName()
Database name for the endpoint.
- Returns:
- Database name for the endpoint.
-
memoryDuration
public final 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.
- 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
public final 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.
- 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
public final 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.- 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
public final 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.- 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
public TimestreamSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
-
builder
public static TimestreamSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimestreamSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-