@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTopicsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response for ListTopics action.
Constructor and Description |
---|
ListTopicsResult() |
Modifier and Type | Method and Description |
---|---|
ListTopicsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Token to pass along to the next
ListTopics request. |
List<Topic> |
getTopics()
A list of topic ARNs.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Token to pass along to the next
ListTopics request. |
void |
setTopics(Collection<Topic> topics)
A list of topic ARNs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListTopicsResult |
withNextToken(String nextToken)
Token to pass along to the next
ListTopics request. |
ListTopicsResult |
withTopics(Collection<Topic> topics)
A list of topic ARNs.
|
ListTopicsResult |
withTopics(Topic... topics)
A list of topic ARNs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTopics(Collection<Topic> topics)
A list of topic ARNs.
topics
- A list of topic ARNs.public ListTopicsResult withTopics(Topic... topics)
A list of topic ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setTopics(java.util.Collection)
or withTopics(java.util.Collection)
if you want to override the
existing values.
topics
- A list of topic ARNs.public ListTopicsResult withTopics(Collection<Topic> topics)
A list of topic ARNs.
topics
- A list of topic ARNs.public void setNextToken(String nextToken)
Token to pass along to the next ListTopics
request. This element is returned if there are additional
topics to retrieve.
nextToken
- Token to pass along to the next ListTopics
request. This element is returned if there are
additional topics to retrieve.public String getNextToken()
Token to pass along to the next ListTopics
request. This element is returned if there are additional
topics to retrieve.
ListTopics
request. This element is returned if there are
additional topics to retrieve.public ListTopicsResult withNextToken(String nextToken)
Token to pass along to the next ListTopics
request. This element is returned if there are additional
topics to retrieve.
nextToken
- Token to pass along to the next ListTopics
request. This element is returned if there are
additional topics to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListTopicsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.