@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStreamKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListStreamKeysResult() |
Modifier and Type | Method and Description |
---|---|
ListStreamKeysResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are more stream keys than
maxResults , use nextToken in the request to get the
next set. |
List<StreamKeySummary> |
getStreamKeys()
List of stream keys.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more stream keys than
maxResults , use nextToken in the request to get the
next set. |
void |
setStreamKeys(Collection<StreamKeySummary> streamKeys)
List of stream keys.
|
String |
toString()
Returns a string representation of this object.
|
ListStreamKeysResult |
withNextToken(String nextToken)
If there are more stream keys than
maxResults , use nextToken in the request to get the
next set. |
ListStreamKeysResult |
withStreamKeys(Collection<StreamKeySummary> streamKeys)
List of stream keys.
|
ListStreamKeysResult |
withStreamKeys(StreamKeySummary... streamKeys)
List of stream keys.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<StreamKeySummary> getStreamKeys()
List of stream keys.
public void setStreamKeys(Collection<StreamKeySummary> streamKeys)
List of stream keys.
streamKeys
- List of stream keys.public ListStreamKeysResult withStreamKeys(StreamKeySummary... streamKeys)
List of stream keys.
NOTE: This method appends the values to the existing list (if any). Use
setStreamKeys(java.util.Collection)
or withStreamKeys(java.util.Collection)
if you want to
override the existing values.
streamKeys
- List of stream keys.public ListStreamKeysResult withStreamKeys(Collection<StreamKeySummary> streamKeys)
List of stream keys.
streamKeys
- List of stream keys.public void setNextToken(String nextToken)
If there are more stream keys than maxResults
, use nextToken
in the request to get the
next set.
nextToken
- If there are more stream keys than maxResults
, use nextToken
in the request to
get the next set.public String getNextToken()
If there are more stream keys than maxResults
, use nextToken
in the request to get the
next set.
maxResults
, use nextToken
in the request to
get the next set.public ListStreamKeysResult withNextToken(String nextToken)
If there are more stream keys than maxResults
, use nextToken
in the request to get the
next set.
nextToken
- If there are more stream keys than maxResults
, use nextToken
in the request to
get the next set.public String toString()
toString
in class Object
Object.toString()
public ListStreamKeysResult clone()