Class BatchModifyTopicInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.BatchModifyTopicInfo
-
public class BatchModifyTopicInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BatchModifyTopicInfo()BatchModifyTopicInfo(BatchModifyTopicInfo 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 StringgetCleanUpPolicy()Get 消息删除策略,可以选择delete 或者compactLonggetMaxMessageBytes()Get 批次的消息大小,范围1 KB到12 MBLonggetMinInsyncReplicas()Get 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目StringgetNote()Get 备注LonggetPartitionNum()Get 分区数LonggetReplicaNum()Get 副本数LonggetRetentionBytes()Get topic维度的消息保留大小,范围1 MB到1024 GBLonggetRetentionMs()Get topic维度的消息保留时间(毫秒)范围1 分钟到90 天LonggetSegmentMs()Get Segment分片滚动的时长(毫秒),范围1 到90 天StringgetTopicName()Get topic名称BooleangetUncleanLeaderElectionEnable()Get 是否允许非ISR的副本成为LeadervoidsetCleanUpPolicy(String CleanUpPolicy)Set 消息删除策略,可以选择delete 或者compactvoidsetMaxMessageBytes(Long MaxMessageBytes)Set 批次的消息大小,范围1 KB到12 MBvoidsetMinInsyncReplicas(Long MinInsyncReplicas)Set 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目voidsetNote(String Note)Set 备注voidsetPartitionNum(Long PartitionNum)Set 分区数voidsetReplicaNum(Long ReplicaNum)Set 副本数voidsetRetentionBytes(Long RetentionBytes)Set topic维度的消息保留大小,范围1 MB到1024 GBvoidsetRetentionMs(Long RetentionMs)Set topic维度的消息保留时间(毫秒)范围1 分钟到90 天voidsetSegmentMs(Long SegmentMs)Set Segment分片滚动的时长(毫秒),范围1 到90 天voidsetTopicName(String TopicName)Set topic名称voidsetUncleanLeaderElectionEnable(Boolean UncleanLeaderElectionEnable)Set 是否允许非ISR的副本成为LeadervoidtoMap(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
-
BatchModifyTopicInfo
public BatchModifyTopicInfo()
-
BatchModifyTopicInfo
public BatchModifyTopicInfo(BatchModifyTopicInfo 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
-
getTopicName
public String getTopicName()
Get topic名称- Returns:
- TopicName topic名称
-
setTopicName
public void setTopicName(String TopicName)
Set topic名称- Parameters:
TopicName- topic名称
-
getPartitionNum
public Long getPartitionNum()
Get 分区数- Returns:
- PartitionNum 分区数
-
setPartitionNum
public void setPartitionNum(Long PartitionNum)
Set 分区数- Parameters:
PartitionNum- 分区数
-
getNote
public String getNote()
Get 备注- Returns:
- Note 备注
-
setNote
public void setNote(String Note)
Set 备注- Parameters:
Note- 备注
-
getReplicaNum
public Long getReplicaNum()
Get 副本数- Returns:
- ReplicaNum 副本数
-
setReplicaNum
public void setReplicaNum(Long ReplicaNum)
Set 副本数- Parameters:
ReplicaNum- 副本数
-
getCleanUpPolicy
public String getCleanUpPolicy()
Get 消息删除策略,可以选择delete 或者compact- Returns:
- CleanUpPolicy 消息删除策略,可以选择delete 或者compact
-
setCleanUpPolicy
public void setCleanUpPolicy(String CleanUpPolicy)
Set 消息删除策略,可以选择delete 或者compact- Parameters:
CleanUpPolicy- 消息删除策略,可以选择delete 或者compact
-
getMinInsyncReplicas
public Long getMinInsyncReplicas()
Get 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目- Returns:
- MinInsyncReplicas 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目
-
setMinInsyncReplicas
public void setMinInsyncReplicas(Long MinInsyncReplicas)
Set 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目- Parameters:
MinInsyncReplicas- 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目
-
getUncleanLeaderElectionEnable
public Boolean getUncleanLeaderElectionEnable()
Get 是否允许非ISR的副本成为Leader- Returns:
- UncleanLeaderElectionEnable 是否允许非ISR的副本成为Leader
-
setUncleanLeaderElectionEnable
public void setUncleanLeaderElectionEnable(Boolean UncleanLeaderElectionEnable)
Set 是否允许非ISR的副本成为Leader- Parameters:
UncleanLeaderElectionEnable- 是否允许非ISR的副本成为Leader
-
getRetentionMs
public Long getRetentionMs()
Get topic维度的消息保留时间(毫秒)范围1 分钟到90 天- Returns:
- RetentionMs topic维度的消息保留时间(毫秒)范围1 分钟到90 天
-
setRetentionMs
public void setRetentionMs(Long RetentionMs)
Set topic维度的消息保留时间(毫秒)范围1 分钟到90 天- Parameters:
RetentionMs- topic维度的消息保留时间(毫秒)范围1 分钟到90 天
-
getRetentionBytes
public Long getRetentionBytes()
Get topic维度的消息保留大小,范围1 MB到1024 GB- Returns:
- RetentionBytes topic维度的消息保留大小,范围1 MB到1024 GB
-
setRetentionBytes
public void setRetentionBytes(Long RetentionBytes)
Set topic维度的消息保留大小,范围1 MB到1024 GB- Parameters:
RetentionBytes- topic维度的消息保留大小,范围1 MB到1024 GB
-
getSegmentMs
public Long getSegmentMs()
Get Segment分片滚动的时长(毫秒),范围1 到90 天- Returns:
- SegmentMs Segment分片滚动的时长(毫秒),范围1 到90 天
-
setSegmentMs
public void setSegmentMs(Long SegmentMs)
Set Segment分片滚动的时长(毫秒),范围1 到90 天- Parameters:
SegmentMs- Segment分片滚动的时长(毫秒),范围1 到90 天
-
getMaxMessageBytes
public Long getMaxMessageBytes()
Get 批次的消息大小,范围1 KB到12 MB- Returns:
- MaxMessageBytes 批次的消息大小,范围1 KB到12 MB
-
setMaxMessageBytes
public void setMaxMessageBytes(Long MaxMessageBytes)
Set 批次的消息大小,范围1 KB到12 MB- Parameters:
MaxMessageBytes- 批次的消息大小,范围1 KB到12 MB
-
-