@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Stream extends Object implements Serializable, Cloneable, StructuredPojo
Represents all of the data describing a particular stream.
Constructor and Description |
---|
Stream() |
Modifier and Type | Method and Description |
---|---|
Stream |
clone() |
boolean |
equals(Object obj) |
String |
getStreamArn()
The Amazon Resource Name (ARN) for the stream.
|
String |
getStreamLabel()
A timestamp, in ISO 8601 format, for this stream.
|
String |
getTableName()
The DynamoDB table with which the stream is associated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the stream.
|
void |
setStreamLabel(String streamLabel)
A timestamp, in ISO 8601 format, for this stream.
|
void |
setTableName(String tableName)
The DynamoDB table with which the stream is associated.
|
String |
toString()
Returns a string representation of this object.
|
Stream |
withStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the stream.
|
Stream |
withStreamLabel(String streamLabel)
A timestamp, in ISO 8601 format, for this stream.
|
Stream |
withTableName(String tableName)
The DynamoDB table with which the stream is associated.
|
public void setStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the stream.
streamArn
- The Amazon Resource Name (ARN) for the stream.public String getStreamArn()
The Amazon Resource Name (ARN) for the stream.
public Stream withStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the stream.
streamArn
- The Amazon Resource Name (ARN) for the stream.public void setTableName(String tableName)
The DynamoDB table with which the stream is associated.
tableName
- The DynamoDB table with which the stream is associated.public String getTableName()
The DynamoDB table with which the stream is associated.
public Stream withTableName(String tableName)
The DynamoDB table with which the stream is associated.
tableName
- The DynamoDB table with which the stream is associated.public void setStreamLabel(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 Amazon Web Services customer ID.
the table name
the StreamLabel
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 Amazon Web Services customer ID.
the table name
the StreamLabel
public String getStreamLabel()
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 Amazon Web Services 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 Amazon Web Services customer ID.
the table name
the StreamLabel
public Stream withStreamLabel(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 Amazon Web Services customer ID.
the table name
the StreamLabel
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 Amazon Web Services customer ID.
the table name
the StreamLabel
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.