@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStreamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListStreamsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListStreamsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, the call returns this element with a token.
|
List<StreamInfo> |
getStreamInfoList()
An array of
StreamInfo objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, the call returns this element with a token.
|
void |
setStreamInfoList(Collection<StreamInfo> streamInfoList)
An array of
StreamInfo objects. |
String |
toString()
Returns a string representation of this object.
|
ListStreamsResult |
withNextToken(String nextToken)
If the response is truncated, the call returns this element with a token.
|
ListStreamsResult |
withStreamInfoList(Collection<StreamInfo> streamInfoList)
An array of
StreamInfo objects. |
ListStreamsResult |
withStreamInfoList(StreamInfo... streamInfoList)
An array of
StreamInfo objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<StreamInfo> getStreamInfoList()
An array of StreamInfo objects.
StreamInfo objects.public void setStreamInfoList(Collection<StreamInfo> streamInfoList)
An array of StreamInfo objects.
streamInfoList - An array of StreamInfo objects.public ListStreamsResult withStreamInfoList(StreamInfo... streamInfoList)
An array of StreamInfo objects.
NOTE: This method appends the values to the existing list (if any). Use
setStreamInfoList(java.util.Collection) or withStreamInfoList(java.util.Collection) if you want
to override the existing values.
streamInfoList - An array of StreamInfo objects.public ListStreamsResult withStreamInfoList(Collection<StreamInfo> streamInfoList)
An array of StreamInfo objects.
streamInfoList - An array of StreamInfo objects.public void setNextToken(String nextToken)
If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.
nextToken - If the response is truncated, the call returns this element with a token. To get the next batch of
streams, use this token in your next request.public String getNextToken()
If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.
public ListStreamsResult withNextToken(String nextToken)
If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.
nextToken - If the response is truncated, the call returns this element with a token. To get the next batch of
streams, use this token in your next request.public String toString()
toString in class ObjectObject.toString()public ListStreamsResult clone()