StructuredPojo, ToCopyableBuilder<StreamDescription.Builder,StreamDescription>@Generated("software.amazon.awssdk:codegen") public class StreamDescription extends Object implements StructuredPojo, ToCopyableBuilder<StreamDescription.Builder,StreamDescription>
Represents all of the data describing a particular stream.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
StreamDescription.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static StreamDescription.Builder |
builder() |
|
Date |
creationRequestDateTime() |
The date and time when the request to create this stream was issued.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<KeySchemaElement> |
keySchema() |
The key attribute(s) of the stream's DynamoDB table.
|
String |
lastEvaluatedShardId() |
The shard ID of the item where the operation stopped, inclusive of the previous result set.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends StreamDescription.Builder> |
serializableBuilderClass() |
|
List<Shard> |
shards() |
The shards that comprise the stream.
|
String |
streamArn() |
The Amazon Resource Name (ARN) for the stream.
|
String |
streamLabel() |
A timestamp, in ISO 8601 format, for this stream.
|
String |
streamStatus() |
Indicates the current status of the stream:
|
String |
streamViewType() |
Indicates the format of the records within this stream:
|
String |
tableName() |
The DynamoDB table with which the stream is associated.
|
StreamDescription.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String streamArn()
The Amazon Resource Name (ARN) for the stream.
public String streamLabel()
A timestamp, in ISO 8601 format, for this stream.
Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a
stream from another table might have the same timestamp. However, the combination of the following three elements
is guaranteed to be unique:
the AWS customer ID.
the table name
the StreamLabel
Note that LatestStreamLabel is not a unique identifier for the stream, because it is
possible that a stream from another table might have the same timestamp. However, the combination of the
following three elements is guaranteed to be unique:
the AWS customer ID.
the table name
the StreamLabel
public String streamStatus()
Indicates the current status of the stream:
ENABLING - Streams is currently being enabled on the DynamoDB table.
ENABLED - the stream is enabled.
DISABLING - Streams is currently being disabled on the DynamoDB table.
DISABLED - the stream is disabled.
ENABLING - Streams is currently being enabled on the DynamoDB table.
ENABLED - the stream is enabled.
DISABLING - Streams is currently being disabled on the DynamoDB table.
DISABLED - the stream is disabled.
StreamStatuspublic String streamViewType()
Indicates the format of the records within this stream:
KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table.
NEW_IMAGE - entire items from the table, as they appeared after they were modified.
OLD_IMAGE - entire items from the table, as they appeared before they were modified.
NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table.
KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table.
NEW_IMAGE - entire items from the table, as they appeared after they were modified.
OLD_IMAGE - entire items from the table, as they appeared before they were modified.
NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table.
StreamViewTypepublic Date creationRequestDateTime()
The date and time when the request to create this stream was issued.
public String tableName()
The DynamoDB table with which the stream is associated.
public List<KeySchemaElement> keySchema()
The key attribute(s) of the stream's DynamoDB table.
public List<Shard> shards()
The shards that comprise the stream.
public String lastEvaluatedShardId()
The shard ID of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.
If LastEvaluatedShardId is empty, then the "last page" of results has been processed and there is
currently no more data to be retrieved.
If LastEvaluatedShardId is not empty, it does not necessarily mean that there is more data in the
result set. The only way to know when you have reached the end of the result set is when
LastEvaluatedShardId is empty.
If LastEvaluatedShardId is empty, then the "last page" of results has been processed and
there is currently no more data to be retrieved.
If LastEvaluatedShardId is not empty, it does not necessarily mean that there is more data
in the result set. The only way to know when you have reached the end of the result set is when
LastEvaluatedShardId is empty.
public StreamDescription.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<StreamDescription.Builder,StreamDescription>public static StreamDescription.Builder builder()
public static Class<? extends StreamDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.