Class ListStreamsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a ListStreams operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The stream ARN of the item where the operation stopped, inclusive of the previous result set.A list of stream descriptors associated with the current account and endpoint.int
hashCode()
void
setLastEvaluatedStreamArn
(String lastEvaluatedStreamArn) The stream ARN of the item where the operation stopped, inclusive of the previous result set.void
setStreams
(Collection<Stream> streams) A list of stream descriptors associated with the current account and endpoint.toString()
Returns a string representation of this object; useful for testing and debugging.withLastEvaluatedStreamArn
(String lastEvaluatedStreamArn) The stream ARN of the item where the operation stopped, inclusive of the previous result set.withStreams
(Stream... streams) A list of stream descriptors associated with the current account and endpoint.withStreams
(Collection<Stream> streams) A list of stream descriptors associated with the current account and endpoint.
-
Constructor Details
-
ListStreamsResult
public ListStreamsResult()
-
-
Method Details
-
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
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
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
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
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 whenLastEvaluatedStreamArn
is 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
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 whenLastEvaluatedStreamArn
is empty.
-
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 whenLastEvaluatedStreamArn
is 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
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 whenLastEvaluatedStreamArn
is empty.
-
withLastEvaluatedStreamArn
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 whenLastEvaluatedStreamArn
is 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
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 whenLastEvaluatedStreamArn
is empty.- 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
-