Class Stream
- All Implemented Interfaces:
Serializable
,Cloneable
Represents all of the data describing a particular stream.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Amazon Resource Name (ARN) for the stream.A timestamp, in ISO 8601 format, for this stream.The DynamoDB table with which the stream is associated.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withStreamArn
(String streamArn) The Amazon Resource Name (ARN) for the stream.withStreamLabel
(String streamLabel) A timestamp, in ISO 8601 format, for this stream.withTableName
(String tableName) The DynamoDB table with which the stream is associated.
-
Constructor Details
-
Stream
public Stream()
-
-
Method Details
-
setStreamArn
The Amazon Resource Name (ARN) for the stream.
- Parameters:
streamArn
- The Amazon Resource Name (ARN) for the stream.
-
getStreamArn
The Amazon Resource Name (ARN) for the stream.
- Returns:
- The Amazon Resource Name (ARN) for the stream.
-
withStreamArn
The Amazon Resource Name (ARN) for the stream.
- Parameters:
streamArn
- The Amazon Resource Name (ARN) for the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTableName
The DynamoDB table with which the stream is associated.
- Parameters:
tableName
- The DynamoDB table with which the stream is associated.
-
getTableName
The DynamoDB table with which the stream is associated.
- Returns:
- The DynamoDB table with which the stream is associated.
-
withTableName
The DynamoDB table with which the stream is associated.
- Parameters:
tableName
- The DynamoDB table with which the stream is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreamLabel
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
- Parameters:
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
-
-
-
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
- Returns:
- 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
-
-
-
withStreamLabel
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-