@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStreamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output for ListStreams
.
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
ListStreamsResult |
clone() |
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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getStreamNames()
The names of the streams that are associated with the AWS account making the ListStreams
request.
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.
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(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 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 Boolean getHasMoreStreams()
If set to true
, there are more streams available to list.
true
, there are more streams available to list.public ListStreamsResult withHasMoreStreams(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 Boolean isHasMoreStreams()
If set to true
, there are more streams available to list.
true
, there are more streams available to list.public String toString()
toString
in class Object
Object.toString()
public ListStreamsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.