Interface CdcSpecification.Builder

  • 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

      CdcSpecification.Builder viewType(String 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

      CdcSpecification.Builder viewType(ViewType 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propagateTags

      CdcSpecification.Builder propagateTags(String 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

      CdcSpecification.Builder propagateTags(CdcPropagateTags 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: