Class ListStreamsResult
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.model.ListStreamsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListStreamsResult extends Object implements Serializable, Cloneable
Represents the output of a ListStreams operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListStreamsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStreamsResultclone()booleanequals(Object obj)StringgetLastEvaluatedStreamArn()The stream ARN of the item where the operation stopped, inclusive of the previous result set.List<Stream>getStreams()A list of stream descriptors associated with the current account and endpoint.inthashCode()voidsetLastEvaluatedStreamArn(String lastEvaluatedStreamArn)The stream ARN of the item where the operation stopped, inclusive of the previous result set.voidsetStreams(Collection<Stream> streams)A list of stream descriptors associated with the current account and endpoint.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListStreamsResultwithLastEvaluatedStreamArn(String lastEvaluatedStreamArn)The stream ARN of the item where the operation stopped, inclusive of the previous result set.ListStreamsResultwithStreams(Stream... streams)A list of stream descriptors associated with the current account and endpoint.ListStreamsResultwithStreams(Collection<Stream> streams)A list of stream descriptors associated with the current account and endpoint.
-
-
-
Method Detail
-
getStreams
public List<Stream> getStreams()
A list of stream descriptors associated with the current account and endpoint.
- Returns:
- A list of stream descriptors associated with the current account and endpoint.
-
setStreams
public void setStreams(Collection<Stream> streams)
A list of stream descriptors associated with the current account and endpoint.
- Parameters:
streams- A list of stream descriptors associated with the current account and endpoint.
-
withStreams
public ListStreamsResult withStreams(Stream... streams)
A list of stream descriptors associated with the current account and endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setStreams(java.util.Collection)orwithStreams(java.util.Collection)if you want to override the existing values.- Parameters:
streams- A list of stream descriptors associated with the current account and endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStreams
public ListStreamsResult withStreams(Collection<Stream> streams)
A list of stream descriptors associated with the current account and endpoint.
- Parameters:
streams- A list of stream descriptors associated with the current account and endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastEvaluatedStreamArn
public void setLastEvaluatedStreamArn(String lastEvaluatedStreamArn)
The stream ARN 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.- Parameters:
lastEvaluatedStreamArn- The stream ARN 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.
-
getLastEvaluatedStreamArn
public String getLastEvaluatedStreamArn()
The stream ARN 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.- Returns:
- The stream ARN 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.
-
withLastEvaluatedStreamArn
public ListStreamsResult withLastEvaluatedStreamArn(String lastEvaluatedStreamArn)
The stream ARN 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.- Parameters:
lastEvaluatedStreamArn- The stream ARN 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.- 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()
-
clone
public ListStreamsResult clone()
-
-