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 String
getCleanUpPolicy()
Get 消息删除策略,可以选择delete 或者compactLong
getMaxMessageBytes()
Get 批次的消息大小,范围1 KB到12 MBLong
getMinInsyncReplicas()
Get 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目String
getNote()
Get 备注Long
getPartitionNum()
Get 分区数Long
getReplicaNum()
Get 副本数Long
getRetentionBytes()
Get topic维度的消息保留大小,范围1 MB到1024 GBLong
getRetentionMs()
Get topic维度的消息保留时间(毫秒)范围1 分钟到90 天Long
getSegmentMs()
Get Segment分片滚动的时长(毫秒),范围1 到90 天String
getTopicName()
Get topic名称Boolean
getUncleanLeaderElectionEnable()
Get 是否允许非ISR的副本成为Leadervoid
setCleanUpPolicy(String CleanUpPolicy)
Set 消息删除策略,可以选择delete 或者compactvoid
setMaxMessageBytes(Long MaxMessageBytes)
Set 批次的消息大小,范围1 KB到12 MBvoid
setMinInsyncReplicas(Long MinInsyncReplicas)
Set 当producer设置request.required.acks为-1时,min.insync.replicas指定replicas的最小数目void
setNote(String Note)
Set 备注void
setPartitionNum(Long PartitionNum)
Set 分区数void
setReplicaNum(Long ReplicaNum)
Set 副本数void
setRetentionBytes(Long RetentionBytes)
Set topic维度的消息保留大小,范围1 MB到1024 GBvoid
setRetentionMs(Long RetentionMs)
Set topic维度的消息保留时间(毫秒)范围1 分钟到90 天void
setSegmentMs(Long SegmentMs)
Set Segment分片滚动的时长(毫秒),范围1 到90 天void
setTopicName(String TopicName)
Set topic名称void
setUncleanLeaderElectionEnable(Boolean UncleanLeaderElectionEnable)
Set 是否允许非ISR的副本成为Leadervoid
toMap(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
-
-