public class ListTopicsResult
extends java.lang.Object
implements java.io.Serializable
Response for ListTopics action.
Constructor and Description |
---|
ListTopicsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
Token to pass along to the next
ListTopics request. |
java.util.List<Topic> |
getTopics()
A list of topic ARNs.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
Token to pass along to the next
ListTopics request. |
void |
setTopics(java.util.Collection<Topic> topics)
A list of topic ARNs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTopicsResult |
withNextToken(java.lang.String nextToken)
Token to pass along to the next
ListTopics request. |
ListTopicsResult |
withTopics(java.util.Collection<Topic> topics)
A list of topic ARNs.
|
ListTopicsResult |
withTopics(Topic... topics)
A list of topic ARNs.
|
public java.util.List<Topic> getTopics()
A list of topic ARNs.
A list of topic ARNs.
public void setTopics(java.util.Collection<Topic> topics)
A list of topic ARNs.
topics
- A list of topic ARNs.
public ListTopicsResult withTopics(Topic... topics)
A list of topic ARNs.
Returns a reference to this object so that method calls can be chained together.
topics
- A list of topic ARNs.
public ListTopicsResult withTopics(java.util.Collection<Topic> topics)
A list of topic ARNs.
Returns a reference to this object so that method calls can be chained together.
topics
- A list of topic ARNs.
public java.lang.String getNextToken()
Token to pass along to the next ListTopics
request. This
element is returned if there are additional topics to retrieve.
Token to pass along to the next ListTopics
request.
This element is returned if there are additional topics to
retrieve.
public void setNextToken(java.lang.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 ListTopicsResult withNextToken(java.lang.String nextToken)
Token to pass along to the next 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 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.