public class ListStreamsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If the response is truncated, the call returns this element with a token.
|
java.util.List<StreamInfo> |
getStreamInfoList()
An array of
StreamInfo objects. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If the response is truncated, the call returns this element with a token.
|
void |
setStreamInfoList(java.util.Collection<StreamInfo> streamInfoList)
An array of
StreamInfo objects. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsResult |
withNextToken(java.lang.String nextToken)
If the response is truncated, the call returns this element with a token.
|
ListStreamsResult |
withStreamInfoList(java.util.Collection<StreamInfo> streamInfoList)
An array of
StreamInfo objects. |
ListStreamsResult |
withStreamInfoList(StreamInfo... streamInfoList)
An array of
StreamInfo objects. |
public java.util.List<StreamInfo> getStreamInfoList()
An array of StreamInfo
objects.
An array of StreamInfo
objects.
public void setStreamInfoList(java.util.Collection<StreamInfo> streamInfoList)
An array of StreamInfo
objects.
streamInfoList
-
An array of StreamInfo
objects.
public ListStreamsResult withStreamInfoList(StreamInfo... streamInfoList)
An array of StreamInfo
objects.
Returns a reference to this object so that method calls can be chained together.
streamInfoList
-
An array of StreamInfo
objects.
public ListStreamsResult withStreamInfoList(java.util.Collection<StreamInfo> streamInfoList)
An array of StreamInfo
objects.
Returns a reference to this object so that method calls can be chained together.
streamInfoList
-
An array of StreamInfo
objects.
public java.lang.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.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
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 void setNextToken(java.lang.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.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
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 ListStreamsResult withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.