public class Stream
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents all of the data describing a particular stream.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
streamArn
The Amazon Resource Name (ARN) for the stream.
|
private java.lang.String |
streamLabel
A timestamp, in ISO 8601 format, for this stream.
|
private java.lang.String |
tableName
The DynamoDB table with which the stream is associated.
|
Constructor and Description |
---|
Stream() |
Modifier and Type | Method and Description |
---|---|
Stream |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStreamArn()
The Amazon Resource Name (ARN) for the stream.
|
java.lang.String |
getStreamLabel()
A timestamp, in ISO 8601 format, for this stream.
|
java.lang.String |
getTableName()
The DynamoDB table with which the stream is associated.
|
int |
hashCode() |
void |
setStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
|
void |
setStreamLabel(java.lang.String streamLabel)
A timestamp, in ISO 8601 format, for this stream.
|
void |
setTableName(java.lang.String tableName)
The DynamoDB table with which the stream is associated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Stream |
withStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
|
Stream |
withStreamLabel(java.lang.String streamLabel)
A timestamp, in ISO 8601 format, for this stream.
|
Stream |
withTableName(java.lang.String tableName)
The DynamoDB table with which the stream is associated.
|
private java.lang.String streamArn
The Amazon Resource Name (ARN) for the stream.
private java.lang.String tableName
The DynamoDB table with which the stream is associated.
private java.lang.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
public void setStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
streamArn
- The Amazon Resource Name (ARN) for the stream.public java.lang.String getStreamArn()
The Amazon Resource Name (ARN) for the stream.
public Stream withStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
streamArn
- The Amazon Resource Name (ARN) for the stream.public void setTableName(java.lang.String tableName)
The DynamoDB table with which the stream is associated.
tableName
- The DynamoDB table with which the stream is associated.public java.lang.String getTableName()
The DynamoDB table with which the stream is associated.
public Stream withTableName(java.lang.String tableName)
The DynamoDB table with which the stream is associated.
tableName
- The DynamoDB table with which the stream is associated.public void setStreamLabel(java.lang.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
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
public java.lang.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 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 Stream withStreamLabel(java.lang.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
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Stream clone()
clone
in class java.lang.Object