public class ListStreamsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output for ListStreams
.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
hasMoreStreams
If set to
true , there are more streams available to list. |
private SdkInternalList<java.lang.String> |
streamNames
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
ListStreamsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getHasMoreStreams()
If set to
true , there are more streams available to list. |
java.util.List<java.lang.String> |
getStreamNames()
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
int |
hashCode() |
java.lang.Boolean |
isHasMoreStreams()
If set to
true , there are more streams available to list. |
void |
setHasMoreStreams(java.lang.Boolean hasMoreStreams)
If set to
true , there are more streams available to list. |
void |
setStreamNames(java.util.Collection<java.lang.String> streamNames)
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsResult |
withHasMoreStreams(java.lang.Boolean hasMoreStreams)
If set to
true , there are more streams available to list. |
ListStreamsResult |
withStreamNames(java.util.Collection<java.lang.String> streamNames)
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
ListStreamsResult |
withStreamNames(java.lang.String... streamNames)
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
private SdkInternalList<java.lang.String> streamNames
The names of the streams that are associated with the AWS account making
the ListStreams
request.
private java.lang.Boolean hasMoreStreams
If set to true
, there are more streams available to list.
public java.util.List<java.lang.String> getStreamNames()
The names of the streams that are associated with the AWS account making
the ListStreams
request.
ListStreams
request.public void setStreamNames(java.util.Collection<java.lang.String> streamNames)
The names of the streams that are associated with the AWS account making
the ListStreams
request.
streamNames
- The names of the streams that are associated with the AWS account
making the ListStreams
request.public ListStreamsResult withStreamNames(java.lang.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)
or
withStreamNames(java.util.Collection)
if you want to override
the existing values.
streamNames
- The names of the streams that are associated with the AWS account
making the ListStreams
request.public ListStreamsResult withStreamNames(java.util.Collection<java.lang.String> streamNames)
The names of the streams that are associated with the AWS account making
the ListStreams
request.
streamNames
- The names of the streams that are associated with the AWS account
making the ListStreams
request.public void setHasMoreStreams(java.lang.Boolean hasMoreStreams)
If set to true
, there are more streams available to list.
hasMoreStreams
- If set to true
, there are more streams available to
list.public java.lang.Boolean getHasMoreStreams()
If set to true
, there are more streams available to list.
true
, there are more streams available to
list.public ListStreamsResult withHasMoreStreams(java.lang.Boolean hasMoreStreams)
If set to true
, there are more streams available to list.
hasMoreStreams
- If set to true
, there are more streams available to
list.public java.lang.Boolean isHasMoreStreams()
If set to true
, there are more streams available to list.
true
, there are more streams available to
list.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