StructuredPojo
, ToCopyableBuilder<StreamSpecification.Builder,StreamSpecification>
@Generated("software.amazon.awssdk:codegen") public class StreamSpecification extends Object implements StructuredPojo, ToCopyableBuilder<StreamSpecification.Builder,StreamSpecification>
Represents the DynamoDB Streams configuration for a table in DynamoDB.
Modifier and Type | Class | Description |
---|---|---|
static interface |
StreamSpecification.Builder |
Modifier and Type | Method | Description |
---|---|---|
static StreamSpecification.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends StreamSpecification.Builder> |
serializableBuilderClass() |
|
Boolean |
streamEnabled() |
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
|
String |
streamViewType() |
When an item in the table is modified,
StreamViewType determines what information is written to the
stream for this table. |
StreamSpecification.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Boolean streamEnabled()
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
public String 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.
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.
StreamViewType
public StreamSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StreamSpecification.Builder,StreamSpecification>
public static StreamSpecification.Builder builder()
public static Class<? extends StreamSpecification.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.