Serializablepublic class ListTopicsResponse extends Response
| 构造器 | 说明 |
|---|---|
ListTopicsResponse(Map<String,String> headers) |
Construct the response with http headers
|
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
int |
GetCount() |
Return the count of topics in response
|
String |
GetNextToken() |
Return the next token from the response.
|
ArrayList<String> |
GetTopics() |
Get all the topics from the response
|
void |
SetNextToken(String nextToken) |
Set the next token to the response
|
void |
SetTopics(List<String> topics) |
Set topics to the response
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllHeaders, GetHeader, GetRequestIdpublic void SetNextToken(String nextToken)
nextToken - the start topic valuepublic void SetTopics(List<String> topics)
topics - topics listpublic int GetCount()
public String GetNextToken()
Copyright © 2018. All Rights Reserved.