@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. |
String |
getNextToken()
|
List<String> |
getStreamNames()
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams request. |
List<StreamSummary> |
getStreamSummaries()
|
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 |
setNextToken(String nextToken)
|
void |
setStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams request. |
void |
setStreamSummaries(Collection<StreamSummary> streamSummaries)
|
String |
toString()
Returns a string representation of this object.
|
ListStreamsResult |
withHasMoreStreams(Boolean hasMoreStreams)
If set to
true , there are more streams available to list. |
ListStreamsResult |
withNextToken(String nextToken)
|
ListStreamsResult |
withStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams request. |
ListStreamsResult |
withStreamNames(String... streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams request. |
ListStreamsResult |
withStreamSummaries(Collection<StreamSummary> streamSummaries)
|
ListStreamsResult |
withStreamSummaries(StreamSummary... streamSummaries)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getStreamNames()
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.
ListStreams
request.public void setStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.
streamNames
- The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.public ListStreamsResult withStreamNames(String... streamNames)
The names of the streams that are associated with the Amazon Web Services 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 Amazon Web Services account making the
ListStreams
request.public ListStreamsResult withStreamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.
streamNames
- The names of the streams that are associated with the Amazon Web Services 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 void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListStreamsResult withNextToken(String nextToken)
nextToken
- public List<StreamSummary> getStreamSummaries()
public void setStreamSummaries(Collection<StreamSummary> streamSummaries)
streamSummaries
- public ListStreamsResult withStreamSummaries(StreamSummary... streamSummaries)
NOTE: This method appends the values to the existing list (if any). Use
setStreamSummaries(java.util.Collection)
or withStreamSummaries(java.util.Collection)
if you
want to override the existing values.
streamSummaries
- public ListStreamsResult withStreamSummaries(Collection<StreamSummary> streamSummaries)
streamSummaries
- public String toString()
toString
in class Object
Object.toString()
public ListStreamsResult clone()
Copyright © 2023. All rights reserved.