public class ListStreamsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a ListStreams operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lastEvaluatedStreamArn
The stream ARN of the item where the operation stopped, inclusive of the
previous result set.
|
private java.util.List<Stream> |
streams
A list of stream descriptors associated with the current account and
endpoint.
|
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
ListStreamsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLastEvaluatedStreamArn()
The stream ARN of the item where the operation stopped, inclusive of the
previous result set.
|
java.util.List<Stream> |
getStreams()
A list of stream descriptors associated with the current account and
endpoint.
|
int |
hashCode() |
void |
setLastEvaluatedStreamArn(java.lang.String lastEvaluatedStreamArn)
The stream ARN of the item where the operation stopped, inclusive of the
previous result set.
|
void |
setStreams(java.util.Collection<Stream> streams)
A list of stream descriptors associated with the current account and
endpoint.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsResult |
withLastEvaluatedStreamArn(java.lang.String lastEvaluatedStreamArn)
The stream ARN of the item where the operation stopped, inclusive of the
previous result set.
|
ListStreamsResult |
withStreams(java.util.Collection<Stream> streams)
A list of stream descriptors associated with the current account and
endpoint.
|
ListStreamsResult |
withStreams(Stream... streams)
A list of stream descriptors associated with the current account and
endpoint.
|
private java.util.List<Stream> streams
A list of stream descriptors associated with the current account and endpoint.
private java.lang.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 LastEvaluatedStreamArn
is empty, then the "last page" of
results has been processed and there is no more data to be retrieved.
If LastEvaluatedStreamArn
is 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 when
LastEvaluatedStreamArn
is empty.
public java.util.List<Stream> getStreams()
A list of stream descriptors associated with the current account and endpoint.
public void setStreams(java.util.Collection<Stream> streams)
A list of stream descriptors associated with the current account and endpoint.
streams
- A list of stream descriptors associated with the current account
and endpoint.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)
or
withStreams(java.util.Collection)
if you want to override the
existing values.
streams
- A list of stream descriptors associated with the current account
and endpoint.public ListStreamsResult withStreams(java.util.Collection<Stream> streams)
A list of stream descriptors associated with the current account and endpoint.
streams
- A list of stream descriptors associated with the current account
and endpoint.public void setLastEvaluatedStreamArn(java.lang.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 LastEvaluatedStreamArn
is empty, then the "last page" of
results has been processed and there is no more data to be retrieved.
If LastEvaluatedStreamArn
is 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 when
LastEvaluatedStreamArn
is empty.
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 LastEvaluatedStreamArn
is empty, then the
"last page" of results has been processed and there is no more
data to be retrieved.
If LastEvaluatedStreamArn
is 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 when LastEvaluatedStreamArn
is empty.
public java.lang.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 LastEvaluatedStreamArn
is empty, then the "last page" of
results has been processed and there is no more data to be retrieved.
If LastEvaluatedStreamArn
is 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 when
LastEvaluatedStreamArn
is empty.
If LastEvaluatedStreamArn
is empty, then the
"last page" of results has been processed and there is no more
data to be retrieved.
If LastEvaluatedStreamArn
is 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 when LastEvaluatedStreamArn
is empty.
public ListStreamsResult withLastEvaluatedStreamArn(java.lang.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 LastEvaluatedStreamArn
is empty, then the "last page" of
results has been processed and there is no more data to be retrieved.
If LastEvaluatedStreamArn
is 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 when
LastEvaluatedStreamArn
is empty.
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 LastEvaluatedStreamArn
is empty, then the
"last page" of results has been processed and there is no more
data to be retrieved.
If LastEvaluatedStreamArn
is 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 when LastEvaluatedStreamArn
is empty.
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 ListStreamsResult clone()
clone
in class java.lang.Object