public class DescribeTopicsRequest extends AbstractModel
Constructor and Description |
---|
DescribeTopicsRequest() |
DescribeTopicsRequest(DescribeTopicsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get Pulsar cluster ID.
|
String |
getEnvironmentId()
Get Environment (namespace) name.
|
Filter[] |
getFilters()
Get * TopicName
Query by topic name for exact search.
|
Long |
getLimit()
Get The number of results to be returned, which defaults to 10 if left empty.
|
Long |
getOffset()
Get Offset, which defaults to 0 if left empty.
|
Long |
getTopicCreator()
Get Topic creator:
1: User
2: System
|
String |
getTopicName()
Get Fuzzy match by topic name.
|
Long |
getTopicType()
Get Topic type description:
0: Non-persistent and non-partitioned topic;
1: Non-persistent and partitioned topic;
2: Persistent and non-partitioned topic;
3: Persistent and partitioned topic.
|
void |
setClusterId(String ClusterId)
Set Pulsar cluster ID.
|
void |
setEnvironmentId(String EnvironmentId)
Set Environment (namespace) name.
|
void |
setFilters(Filter[] Filters)
Set * TopicName
Query by topic name for exact search.
|
void |
setLimit(Long Limit)
Set The number of results to be returned, which defaults to 10 if left empty.
|
void |
setOffset(Long Offset)
Set Offset, which defaults to 0 if left empty.
|
void |
setTopicCreator(Long TopicCreator)
Set Topic creator:
1: User
2: System
|
void |
setTopicName(String TopicName)
Set Fuzzy match by topic name.
|
void |
setTopicType(Long TopicType)
Set Topic type description:
0: Non-persistent and non-partitioned topic;
1: Non-persistent and partitioned topic;
2: Persistent and non-partitioned topic;
3: Persistent and partitioned topic.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeTopicsRequest()
public DescribeTopicsRequest(DescribeTopicsRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- Environment (namespace) name.public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Fuzzy match by topic name.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset, which defaults to 0 if left empty.public Long getLimit()
public void setLimit(Long Limit)
Limit
- The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.public Long getTopicType()
public void setTopicType(Long TopicType)
TopicType
- Topic type description:
0: Non-persistent and non-partitioned topic;
1: Non-persistent and partitioned topic;
2: Persistent and non-partitioned topic;
3: Persistent and partitioned topic.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Pulsar cluster ID.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- * TopicName
Query by topic name for exact search.
Type: String
Required: Nopublic Long getTopicCreator()
public void setTopicCreator(Long TopicCreator)
TopicCreator
- Topic creator:
1: User
2: SystemCopyright © 2023. All rights reserved.