Class Stream
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.model.Stream
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Stream extends Object implements Serializable, Cloneable
Represents all of the data describing a particular stream.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Stream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamclone()booleanequals(Object obj)StringgetStreamArn()The Amazon Resource Name (ARN) for the stream.StringgetStreamLabel()A timestamp, in ISO 8601 format, for this stream.StringgetTableName()The DynamoDB table with which the stream is associated.inthashCode()voidsetStreamArn(String streamArn)The Amazon Resource Name (ARN) for the stream.voidsetStreamLabel(String streamLabel)A timestamp, in ISO 8601 format, for this stream.voidsetTableName(String tableName)The DynamoDB table with which the stream is associated.StringtoString()Returns a string representation of this object; useful for testing and debugging.StreamwithStreamArn(String streamArn)The Amazon Resource Name (ARN) for the stream.StreamwithStreamLabel(String streamLabel)A timestamp, in ISO 8601 format, for this stream.StreamwithTableName(String tableName)The DynamoDB table with which the stream is associated.
-
-
-
Method Detail
-
setStreamArn
public void setStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the stream.
- Parameters:
streamArn- The Amazon Resource Name (ARN) for the stream.
-
getStreamArn
public String getStreamArn()
The Amazon Resource Name (ARN) for the stream.
- Returns:
- The Amazon Resource Name (ARN) for the stream.
-
withStreamArn
public Stream withStreamArn(String streamArn)
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
public void setTableName(String tableName)
The DynamoDB table with which the stream is associated.
- Parameters:
tableName- The DynamoDB table with which the stream is associated.
-
getTableName
public String getTableName()
The DynamoDB table with which the stream is associated.
- Returns:
- The DynamoDB table with which the stream is associated.
-
withTableName
public Stream withTableName(String tableName)
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
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 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
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 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
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 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-