Class ListStreamsResult
- java.lang.Object
-
- com.amazonaws.services.kinesis.model.ListStreamsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListStreamsResult extends Object implements Serializable, Cloneable
Represents the output for
ListStreams
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListStreamsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStreamsResult
clone()
boolean
equals(Object obj)
Boolean
getHasMoreStreams()
If set totrue
, there are more streams available to list.List<String>
getStreamNames()
The names of the streams that are associated with the AWS account making theListStreams
request.int
hashCode()
Boolean
isHasMoreStreams()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListStreamsResult
withHasMoreStreams(Boolean hasMoreStreams)
If set totrue
, there are more streams available to list.ListStreamsResult
withStreamNames(String... streamNames)
The names of the streams that are associated with the AWS account making theListStreams
request.ListStreamsResult
withStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the AWS account making theListStreams
request.
-
-
-
Method Detail
-
getStreamNames
public List<String> 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
public void setStreamNames(Collection<String> streamNames)
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
public ListStreamsResult withStreamNames(String... streamNames)
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
public ListStreamsResult withStreamNames(Collection<String> streamNames)
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
public void setHasMoreStreams(Boolean hasMoreStreams)
If set to
true
, there are more streams available to list.- Parameters:
hasMoreStreams
- If set totrue
, there are more streams available to list.
-
getHasMoreStreams
public Boolean 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
public ListStreamsResult withHasMoreStreams(Boolean hasMoreStreams)
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
public Boolean 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListStreamsResult clone()
-
-