public class TopicAttributesResponse extends AbstractModel
Constructor and Description |
---|
TopicAttributesResponse() |
TopicAttributesResponse(TopicAttributesResponse 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 |
---|---|
AclRule[] |
getAclRuleList()
Get Preset ACL rule list.
|
Config |
getConfig()
Get Topic configuration array
|
Long |
getCreateTime()
Get Creation time
|
Long |
getEnableAclRule()
Get Switch of the preset ACL rule.
|
Long |
getEnableWhiteList()
Get IP allowlist switch.
|
String[] |
getIpWhiteList()
Get IP allowlist list
|
String |
getNote()
Get Topic remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getPartitionNum()
Get Number of partitions
|
TopicPartitionDO[] |
getPartitions()
Get Partition details
|
InstanceQuotaConfigResp |
getQuotaConfig()
Get Traffic throttling policy in topic dimension.
|
Long |
getReplicaNum()
Get Number of replicas
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTopicId()
Get Topic ID
|
void |
setAclRuleList(AclRule[] AclRuleList)
Set Preset ACL rule list.
|
void |
setConfig(Config Config)
Set Topic configuration array
|
void |
setCreateTime(Long CreateTime)
Set Creation time
|
void |
setEnableAclRule(Long EnableAclRule)
Set Switch of the preset ACL rule.
|
void |
setEnableWhiteList(Long EnableWhiteList)
Set IP allowlist switch.
|
void |
setIpWhiteList(String[] IpWhiteList)
Set IP allowlist list
|
void |
setNote(String Note)
Set Topic remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPartitionNum(Long PartitionNum)
Set Number of partitions
|
void |
setPartitions(TopicPartitionDO[] Partitions)
Set Partition details
|
void |
setQuotaConfig(InstanceQuotaConfigResp QuotaConfig)
Set Traffic throttling policy in topic dimension.
|
void |
setReplicaNum(Long ReplicaNum)
Set Number of replicas
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTopicId(String TopicId)
Set Topic ID
|
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 TopicAttributesResponse()
public TopicAttributesResponse(TopicAttributesResponse source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Topic IDpublic Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Creation timepublic String getNote()
public void setNote(String Note)
Note
- Topic remarks
Note: this field may return null, indicating that no valid values can be obtained.public Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- Number of partitionspublic Long getEnableWhiteList()
public void setEnableWhiteList(Long EnableWhiteList)
EnableWhiteList
- IP allowlist switch. 1: enabled, 0: disabledpublic String[] getIpWhiteList()
public void setIpWhiteList(String[] IpWhiteList)
IpWhiteList
- IP allowlist listpublic Config getConfig()
public void setConfig(Config Config)
Config
- Topic configuration arraypublic TopicPartitionDO[] getPartitions()
public void setPartitions(TopicPartitionDO[] Partitions)
Partitions
- Partition detailspublic Long getEnableAclRule()
public void setEnableAclRule(Long EnableAclRule)
EnableAclRule
- Switch of the preset ACL rule. `1`: enable, `0`: disable.
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public AclRule[] getAclRuleList()
public void setAclRuleList(AclRule[] AclRuleList)
AclRuleList
- Preset ACL rule list.
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public InstanceQuotaConfigResp getQuotaConfig()
public void setQuotaConfig(InstanceQuotaConfigResp QuotaConfig)
QuotaConfig
- Traffic throttling policy in topic dimension.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getReplicaNum()
public void setReplicaNum(Long ReplicaNum)
ReplicaNum
- Number of replicas
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.