Interface CdcSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CdcSpecification.Builder,
,CdcSpecification> SdkBuilder<CdcSpecification.Builder,
,CdcSpecification> SdkPojo
- Enclosing class:
CdcSpecification
-
Method Summary
Modifier and TypeMethodDescriptionpropagateTags
(String propagateTags) Specifies that the stream inherits the tags from the table.propagateTags
(CdcPropagateTags propagateTags) Specifies that the stream inherits the tags from the table.The status of the CDC stream.The status of the CDC stream.tags
(Collection<Tag> tags) The tags (key-value pairs) that you want to apply to the stream.tags
(Consumer<Tag.Builder>... tags) The tags (key-value pairs) that you want to apply to the stream.The tags (key-value pairs) that you want to apply to the stream.The view type specifies the changes Amazon Keyspaces records for each changed row in the stream.The view type specifies the changes Amazon Keyspaces records for each changed row in the stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The status of the CDC stream. You can enable or disable a stream for a table.
- Parameters:
status
- The status of the CDC stream. You can enable or disable a stream for a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the CDC stream. You can enable or disable a stream for a table.
- Parameters:
status
- The status of the CDC stream. You can enable or disable a stream for a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tags
The tags (key-value pairs) that you want to apply to the stream.
- Parameters:
tags
- The tags (key-value pairs) that you want to apply to the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags (key-value pairs) that you want to apply to the stream.
- Parameters:
tags
- The tags (key-value pairs) that you want to apply to the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags (key-value pairs) that you want to apply to the stream.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies that the stream inherits the tags from the table.
- Parameters:
propagateTags
- Specifies that the stream inherits the tags from the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies that the stream inherits the tags from the table.
- Parameters:
propagateTags
- Specifies that the stream inherits the tags from the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-