Class StreamSpecification
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the DynamoDB Streams configuration for a table in DynamoDB.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.The DynamoDB Streams settings for the table.int
hashCode()
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.void
setStreamEnabled
(Boolean streamEnabled) Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.void
setStreamViewType
(StreamViewType streamViewType) The DynamoDB Streams settings for the table.void
setStreamViewType
(String streamViewType) The DynamoDB Streams settings for the table.toString()
Returns a string representation of this object; useful for testing and debugging.withStreamEnabled
(Boolean streamEnabled) Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.withStreamViewType
(StreamViewType streamViewType) The DynamoDB Streams settings for the table.withStreamViewType
(String streamViewType) The DynamoDB Streams settings for the table.
-
Constructor Details
-
StreamSpecification
public StreamSpecification()
-
-
Method Details
-
setStreamEnabled
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
- Parameters:
streamEnabled
- Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
getStreamEnabled
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
- Returns:
- Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
withStreamEnabled
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
- Parameters:
streamEnabled
- Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isStreamEnabled
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
- Returns:
- Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
setStreamViewType
The DynamoDB Streams settings for the table. These settings consist of:
-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
- Parameters:
streamViewType
- The DynamoDB Streams settings for the table. These settings consist of:-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
-
- See Also:
-
-
getStreamViewType
The DynamoDB Streams settings for the table. These settings consist of:
-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
- Returns:
- The DynamoDB Streams settings for the table. These settings
consist of:
-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
-
- See Also:
-
-
withStreamViewType
The DynamoDB Streams settings for the table. These settings consist of:
-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
- Parameters:
streamViewType
- The DynamoDB Streams settings for the table. These settings consist of:-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setStreamViewType
The DynamoDB Streams settings for the table. These settings consist of:
-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
- Parameters:
streamViewType
- The DynamoDB Streams settings for the table. These settings consist of:-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
-
- See Also:
-
-
withStreamViewType
The DynamoDB Streams settings for the table. These settings consist of:
-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
- Parameters:
streamViewType
- The DynamoDB Streams settings for the table. These settings consist of:-
StreamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
-
StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
-
KEYS_ONLY - Only the key attributes of the modified item are written to the stream.
-
NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream.
-
OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream.
-
NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-