Class CfnTable.CdcSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.CfnTable.CdcSpecificationProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnTable.CdcSpecificationProperty>
- Enclosing interface:
- CfnTable.CdcSpecificationProperty
@Stability(Stable)
public static final class CfnTable.CdcSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.CdcSpecificationProperty>
A builder for 
CfnTable.CdcSpecificationProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.CdcSpecificationProperty.getStatus()Sets the value ofCfnTable.CdcSpecificationProperty.getTags()Sets the value ofCfnTable.CdcSpecificationProperty.getViewType()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
statusSets the value ofCfnTable.CdcSpecificationProperty.getStatus()- Parameters:
- status- The status of the CDC stream. This parameter is required. You can enable or disable a stream for a table.
- Returns:
- this
 
- 
tags@Stability(Stable) public CfnTable.CdcSpecificationProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTable.CdcSpecificationProperty.getTags()- Parameters:
- tags- The tags (key-value pairs) that you want to apply to the stream.
- Returns:
- this
 
- 
viewTypeSets the value ofCfnTable.CdcSpecificationProperty.getViewType()- Parameters:
- viewType- The view type specifies the changes Amazon Keyspaces records for each changed row in the stream. After you create the stream, you can't make changes to this selection.- The options are: - NEW_AND_OLD_IMAGES- both versions of the row, before and after the change. This is the default.
- NEW_IMAGE- the version of the row after the change.
- OLD_IMAGE- the version of the row before the change.
- KEYS_ONLY- the partition and clustering keys of the row that was changed.
 
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnTable.CdcSpecificationProperty>
- Returns:
- a new instance of CfnTable.CdcSpecificationProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-