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 ListStreamsResultclone()booleanequals(Object obj)BooleangetHasMoreStreams()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 theListStreamsrequest.inthashCode()BooleanisHasMoreStreams()If set totrue, there are more streams available to list.voidsetHasMoreStreams(Boolean hasMoreStreams)If set totrue, there are more streams available to list.voidsetStreamNames(Collection<String> streamNames)The names of the streams that are associated with the AWS account making theListStreamsrequest.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListStreamsResultwithHasMoreStreams(Boolean hasMoreStreams)If set totrue, there are more streams available to list.ListStreamsResultwithStreamNames(String... streamNames)The names of the streams that are associated with the AWS account making theListStreamsrequest.ListStreamsResultwithStreamNames(Collection<String> streamNames)The names of the streams that are associated with the AWS account making theListStreamsrequest.
-
-
-
Method Detail
-
getStreamNames
public List<String> getStreamNames()
The names of the streams that are associated with the AWS account making the
ListStreamsrequest.- Returns:
- The names of the streams that are associated with the AWS account
making the
ListStreamsrequest.
-
setStreamNames
public void setStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the AWS account making the
ListStreamsrequest.- Parameters:
streamNames- The names of the streams that are associated with the AWS account making theListStreamsrequest.
-
withStreamNames
public ListStreamsResult withStreamNames(String... streamNames)
The names of the streams that are associated with the AWS account making the
ListStreamsrequest.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 theListStreamsrequest.- 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
ListStreamsrequest.- Parameters:
streamNames- The names of the streams that are associated with the AWS account making theListStreamsrequest.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListStreamsResult clone()
-
-