Package com.amazonaws.services.sns.model
Class ListTopicsResult
java.lang.Object
com.amazonaws.services.sns.model.ListTopicsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Response for ListTopics action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Token to pass along to the nextListTopics
request.A list of topic ARNs.int
hashCode()
void
setNextToken
(String nextToken) Token to pass along to the nextListTopics
request.void
setTopics
(Collection<Topic> topics) A list of topic ARNs.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) Token to pass along to the nextListTopics
request.withTopics
(Topic... topics) A list of topic ARNs.withTopics
(Collection<Topic> topics) A list of topic ARNs.
-
Constructor Details
-
ListTopicsResult
public ListTopicsResult()
-
-
Method Details
-
getTopics
A list of topic ARNs.
- Returns:
- A list of topic ARNs.
-
setTopics
A list of topic ARNs.
- Parameters:
topics
- A list of topic ARNs.
-
withTopics
A list of topic ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setTopics(java.util.Collection)
orwithTopics(java.util.Collection)
if you want to override the existing values.- Parameters:
topics
- A list of topic ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTopics
A list of topic ARNs.
- Parameters:
topics
- A list of topic ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
Token to pass along to the next
ListTopics
request. This element is returned if there are additional topics to retrieve.- Parameters:
nextToken
- Token to pass along to the nextListTopics
request. This element is returned if there are additional topics to retrieve.
-
getNextToken
Token to pass along to the next
ListTopics
request. This element is returned if there are additional topics to retrieve.- Returns:
- Token to pass along to the next
ListTopics
request. This element is returned if there are additional topics to retrieve.
-
withNextToken
Token to pass along to the next
ListTopics
request. This element is returned if there are additional topics to retrieve.- Parameters:
nextToken
- Token to pass along to the nextListTopics
request. This element is returned if there are additional topics to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-