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:
  • Method Details

    • 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 true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, 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 is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.
    • enableMagneticStoreWrites

      public final Boolean enableMagneticStoreWrites()

      Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, 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 is false, DMS does not write records that are older in days than the value specified in MagneticDuration, 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:
      toBuilder in interface ToCopyableBuilder<TimestreamSettings.Builder,TimestreamSettings>
    • builder

      public static TimestreamSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends TimestreamSettings.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo