public class ListTopicsResult extends Object implements Serializable
Response for ListTopics action.
Constructor and Description |
---|
ListTopicsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void setTopics(Collection<Topic> topics)
topics
- A list of topic ARNs.public ListTopicsResult withTopics(Topic... topics)
Returns a reference to this object so that method calls can be chained together.
topics
- A list of topic ARNs.public ListTopicsResult withTopics(Collection<Topic> topics)
Returns a reference to this object so that method calls can be chained together.
topics
- A list of topic ARNs.public String getNextToken()
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 void setNextToken(String nextToken)
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 ListTopicsResult withNextToken(String nextToken)
ListTopics
request. This
element is returned if there are additional topics to retrieve.
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.