Interface TimestreamSettings.Builder

  • Method Details

    • databaseName

      TimestreamSettings.Builder databaseName(String databaseName)

      Database name for the endpoint.

      Parameters:
      databaseName - Database name for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryDuration

      TimestreamSettings.Builder memoryDuration(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • magneticDuration

      TimestreamSettings.Builder magneticDuration(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • cdcInsertsAndUpdates

      TimestreamSettings.Builder cdcInsertsAndUpdates(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • enableMagneticStoreWrites

      TimestreamSettings.Builder enableMagneticStoreWrites(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.