Class TopicPartitionDO
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.TopicPartitionDO
-
public class TopicPartitionDO extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TopicPartitionDO()TopicPartitionDO(TopicPartitionDO 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetIsrNum()Get ISR 个数LonggetLeaderStatus()Get Leader 运行状态LonggetPartition()Get Partition IDLonggetReplicaNum()Get 副本个数voidsetIsrNum(Long IsrNum)Set ISR 个数voidsetLeaderStatus(Long LeaderStatus)Set Leader 运行状态voidsetPartition(Long Partition)Set Partition IDvoidsetReplicaNum(Long ReplicaNum)Set 副本个数voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TopicPartitionDO
public TopicPartitionDO()
-
TopicPartitionDO
public TopicPartitionDO(TopicPartitionDO 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.
-
-
Method Detail
-
getPartition
public Long getPartition()
Get Partition ID- Returns:
- Partition Partition ID
-
setPartition
public void setPartition(Long Partition)
Set Partition ID- Parameters:
Partition- Partition ID
-
getLeaderStatus
public Long getLeaderStatus()
Get Leader 运行状态- Returns:
- LeaderStatus Leader 运行状态
-
setLeaderStatus
public void setLeaderStatus(Long LeaderStatus)
Set Leader 运行状态- Parameters:
LeaderStatus- Leader 运行状态
-
getIsrNum
public Long getIsrNum()
Get ISR 个数- Returns:
- IsrNum ISR 个数
-
setIsrNum
public void setIsrNum(Long IsrNum)
Set ISR 个数- Parameters:
IsrNum- ISR 个数
-
getReplicaNum
public Long getReplicaNum()
Get 副本个数- Returns:
- ReplicaNum 副本个数
-
setReplicaNum
public void setReplicaNum(Long ReplicaNum)
Set 副本个数- Parameters:
ReplicaNum- 副本个数
-
-