@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestreamSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines an Amazon Timestream endpoint.
| Constructor and Description | 
|---|
| TimestreamSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| TimestreamSettings | clone() | 
| boolean | equals(Object obj) | 
| Boolean | getCdcInsertsAndUpdates()
 Set this attribute to  trueto specify that DMS only applies inserts and updates, and not deletes. | 
| String | getDatabaseName()
 Database name for the endpoint. | 
| Boolean | getEnableMagneticStoreWrites()
 Set this attribute to  trueto enable memory store writes. | 
| Integer | getMagneticDuration()
 Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. | 
| Integer | getMemoryDuration()
 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. | 
| int | hashCode() | 
| Boolean | isCdcInsertsAndUpdates()
 Set this attribute to  trueto specify that DMS only applies inserts and updates, and not deletes. | 
| Boolean | isEnableMagneticStoreWrites()
 Set this attribute to  trueto enable memory store writes. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
 Set this attribute to  trueto specify that DMS only applies inserts and updates, and not deletes. | 
| void | setDatabaseName(String databaseName)
 Database name for the endpoint. | 
| void | setEnableMagneticStoreWrites(Boolean enableMagneticStoreWrites)
 Set this attribute to  trueto enable memory store writes. | 
| void | setMagneticDuration(Integer magneticDuration)
 Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. | 
| void | setMemoryDuration(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. | 
| String | toString()Returns a string representation of this object. | 
| TimestreamSettings | withCdcInsertsAndUpdates(Boolean cdcInsertsAndUpdates)
 Set this attribute to  trueto specify that DMS only applies inserts and updates, and not deletes. | 
| TimestreamSettings | withDatabaseName(String databaseName)
 Database name for the endpoint. | 
| TimestreamSettings | withEnableMagneticStoreWrites(Boolean enableMagneticStoreWrites)
 Set this attribute to  trueto enable memory store writes. | 
| TimestreamSettings | withMagneticDuration(Integer magneticDuration)
 Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. | 
| TimestreamSettings | withMemoryDuration(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. | 
public void setDatabaseName(String databaseName)
Database name for the endpoint.
databaseName - Database name for the endpoint.public String getDatabaseName()
Database name for the endpoint.
public TimestreamSettings withDatabaseName(String databaseName)
Database name for the endpoint.
databaseName - Database name for the endpoint.public void setMemoryDuration(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.
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.public Integer getMemoryDuration()
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.
public TimestreamSettings withMemoryDuration(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.
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.public void setMagneticDuration(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.
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.public Integer getMagneticDuration()
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.
public TimestreamSettings withMagneticDuration(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.
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.public void setCdcInsertsAndUpdates(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.
 
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.public Boolean getCdcInsertsAndUpdates()
 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.
 
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.public TimestreamSettings withCdcInsertsAndUpdates(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.
 
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.public Boolean isCdcInsertsAndUpdates()
 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.
 
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.public void setEnableMagneticStoreWrites(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.
 
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.public Boolean getEnableMagneticStoreWrites()
 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.
 
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.public TimestreamSettings withEnableMagneticStoreWrites(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.
 
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.public Boolean isEnableMagneticStoreWrites()
 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.
 
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.public String toString()
toString in class ObjectObject.toString()public TimestreamSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.