public class TopicDetail extends AbstractModel
Constructor and Description |
---|
TopicDetail() |
TopicDetail(TopicDetail 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 |
---|---|
Config |
getConfig()
Get Advanced configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getCreateTime()
Get Creation time
|
Boolean |
getEnableWhiteList()
Get Whether to enable IP authentication allowlist.
|
String |
getForwardCosBucket()
Get COS bucket for data backup: address of the destination COS bucket
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getForwardInterval()
Get Frequency of data backup to COS
|
Long |
getForwardStatus()
Get Status of data backup to COS.
|
Long |
getIpWhiteListCount()
Get Number of IPs in IP allowlist
|
String |
getNote()
Get Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getPartitionNum()
Get Number of partitions
|
Long |
getReplicaNum()
Get Number of replicas
|
TopicRetentionTimeConfigRsp |
getRetentionTimeConfig()
Get Message retention time configuration (for recording the latest retention time)
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
Long |
getStatus()
Get `0`: normal, `1`: deleted, `2`: deleting
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
Tag[] |
getTags()
Get Tag list
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTopicId()
Get Topic ID
|
String |
getTopicName()
Get Topic name
|
void |
setConfig(Config Config)
Set Advanced configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setCreateTime(Long CreateTime)
Set Creation time
|
void |
setEnableWhiteList(Boolean EnableWhiteList)
Set Whether to enable IP authentication allowlist.
|
void |
setForwardCosBucket(String ForwardCosBucket)
Set COS bucket for data backup: address of the destination COS bucket
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setForwardInterval(Long ForwardInterval)
Set Frequency of data backup to COS
|
void |
setForwardStatus(Long ForwardStatus)
Set Status of data backup to COS.
|
void |
setIpWhiteListCount(Long IpWhiteListCount)
Set Number of IPs in IP allowlist
|
void |
setNote(String Note)
Set Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPartitionNum(Long PartitionNum)
Set Number of partitions
|
void |
setReplicaNum(Long ReplicaNum)
Set Number of replicas
|
void |
setRetentionTimeConfig(TopicRetentionTimeConfigRsp RetentionTimeConfig)
Set Message retention time configuration (for recording the latest retention time)
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setStatus(Long Status)
Set `0`: normal, `1`: deleted, `2`: deleting
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setTags(Tag[] Tags)
Set Tag list
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTopicId(String TopicId)
Set Topic ID
|
void |
setTopicName(String TopicName)
Set Topic name
|
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 TopicDetail()
public TopicDetail(TopicDetail source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic namepublic String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Topic IDpublic Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- Number of partitionspublic Long getReplicaNum()
public void setReplicaNum(Long ReplicaNum)
ReplicaNum
- Number of replicaspublic String getNote()
public void setNote(String Note)
Note
- Remarks
Note: this field may return null, indicating that no valid values can be obtained.public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Creation timepublic Boolean getEnableWhiteList()
public void setEnableWhiteList(Boolean EnableWhiteList)
EnableWhiteList
- Whether to enable IP authentication allowlist. true: yes, false: nopublic Long getIpWhiteListCount()
public void setIpWhiteListCount(Long IpWhiteListCount)
IpWhiteListCount
- Number of IPs in IP allowlistpublic String getForwardCosBucket()
public void setForwardCosBucket(String ForwardCosBucket)
ForwardCosBucket
- COS bucket for data backup: address of the destination COS bucket
Note: this field may return null, indicating that no valid values can be obtained.public Long getForwardStatus()
public void setForwardStatus(Long ForwardStatus)
ForwardStatus
- Status of data backup to COS. 1: not enabled, 0: enabledpublic Long getForwardInterval()
public void setForwardInterval(Long ForwardInterval)
ForwardInterval
- Frequency of data backup to COSpublic Config getConfig()
public void setConfig(Config Config)
Config
- Advanced configuration
Note: this field may return null, indicating that no valid values can be obtained.public TopicRetentionTimeConfigRsp getRetentionTimeConfig()
public void setRetentionTimeConfig(TopicRetentionTimeConfigRsp RetentionTimeConfig)
RetentionTimeConfig
- Message retention time configuration (for recording the latest retention time)
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- `0`: normal, `1`: deleted, `2`: deleting
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag list
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.