public class ListStreamsResult extends Object implements Serializable
Represents the output for ListStreams
.
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getHasMoreStreams()
If set to
true , there are more streams available to list. |
List<String> |
getStreamNames()
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
int |
hashCode() |
Boolean |
isHasMoreStreams()
If set to
true , there are more streams available to list. |
void |
setHasMoreStreams(Boolean hasMoreStreams)
If set to
true , 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
the
ListStreams request. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsResult |
withHasMoreStreams(Boolean hasMoreStreams)
If set to
true , there are more streams available to list. |
ListStreamsResult |
withStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
ListStreamsResult |
withStreamNames(String... streamNames)
The names of the streams that are associated with the AWS account making
the
ListStreams request. |
public List<String> getStreamNames()
The names of the streams that are associated with the AWS account making
the ListStreams
request.
The names of the streams that are associated with the AWS account
making the ListStreams
request.
public void setStreamNames(Collection<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(String... streamNames)
The names of the streams that are associated with the AWS account making
the ListStreams
request.
Returns a reference to this object so that method calls can be chained together.
streamNames
-
The names of the streams that are associated with the AWS
account making the ListStreams
request.
public ListStreamsResult withStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the AWS account making
the ListStreams
request.
Returns a reference to this object so that method calls can be chained together.
streamNames
-
The names of the streams that are associated with the AWS
account making the ListStreams
request.
public Boolean isHasMoreStreams()
If set to true
, there are more streams available to list.
If set to true
, there are more streams available to
list.
public Boolean getHasMoreStreams()
If set to true
, there are more streams available to list.
If set to true
, there are more streams available to
list.
public void setHasMoreStreams(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 ListStreamsResult withHasMoreStreams(Boolean hasMoreStreams)
If set to true
, there are more streams available to list.
Returns a reference to this object so that method calls can be chained together.
hasMoreStreams
-
If set to true
, there are more streams available
to list.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2017. All rights reserved.