Class ListStreamsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output for ListStreams
.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
If set totrue
, there are more streams available to list.The names of the streams that are associated with the AWS account making theListStreams
request.int
hashCode()
If set totrue
, there are more streams available to list.void
setHasMoreStreams
(Boolean hasMoreStreams) If set totrue
, there are more streams available to list.void
setStreamNames
(Collection<String> streamNames) The names of the streams that are associated with the AWS account making theListStreams
request.toString()
Returns a string representation of this object; useful for testing and debugging.withHasMoreStreams
(Boolean hasMoreStreams) If set totrue
, there are more streams available to list.withStreamNames
(String... streamNames) The names of the streams that are associated with the AWS account making theListStreams
request.withStreamNames
(Collection<String> streamNames) The names of the streams that are associated with the AWS account making theListStreams
request.
-
Constructor Details
-
ListStreamsResult
public ListStreamsResult()
-
-
Method Details
-
getStreamNames
The names of the streams that are associated with the AWS account making the
ListStreams
request.- Returns:
- The names of the streams that are associated with the AWS account
making the
ListStreams
request.
-
setStreamNames
The names of the streams that are associated with the AWS account making the
ListStreams
request.- Parameters:
streamNames
- The names of the streams that are associated with the AWS account making theListStreams
request.
-
withStreamNames
The names of the streams that are associated with the AWS account making the
ListStreams
request.NOTE: This method appends the values to the existing list (if any). Use
setStreamNames(java.util.Collection)
orwithStreamNames(java.util.Collection)
if you want to override the existing values.- Parameters:
streamNames
- The names of the streams that are associated with the AWS account making theListStreams
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStreamNames
The names of the streams that are associated with the AWS account making the
ListStreams
request.- Parameters:
streamNames
- The names of the streams that are associated with the AWS account making theListStreams
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHasMoreStreams
If set to
true
, there are more streams available to list.- Parameters:
hasMoreStreams
- If set totrue
, there are more streams available to list.
-
getHasMoreStreams
If set to
true
, there are more streams available to list.- Returns:
- If set to
true
, there are more streams available to list.
-
withHasMoreStreams
If set to
true
, there are more streams available to list.- Parameters:
hasMoreStreams
- If set totrue
, there are more streams available to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHasMoreStreams
If set to
true
, there are more streams available to list.- Returns:
- If set to
true
, there are more streams available to list.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-