Class InstanceConfigDO
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.InstanceConfigDO
-
public class InstanceConfigDO extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InstanceConfigDO()InstanceConfigDO(InstanceConfigDO 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 BooleangetAutoCreateTopicsEnable()Get 是否自动创建主题LonggetDefaultNumPartitions()Get 分区数LonggetDefaultReplicationFactor()Get 默认的复制FactorvoidsetAutoCreateTopicsEnable(Boolean AutoCreateTopicsEnable)Set 是否自动创建主题voidsetDefaultNumPartitions(Long DefaultNumPartitions)Set 分区数voidsetDefaultReplicationFactor(Long DefaultReplicationFactor)Set 默认的复制FactorvoidtoMap(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
-
InstanceConfigDO
public InstanceConfigDO()
-
InstanceConfigDO
public InstanceConfigDO(InstanceConfigDO 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
-
getAutoCreateTopicsEnable
public Boolean getAutoCreateTopicsEnable()
Get 是否自动创建主题- Returns:
- AutoCreateTopicsEnable 是否自动创建主题
-
setAutoCreateTopicsEnable
public void setAutoCreateTopicsEnable(Boolean AutoCreateTopicsEnable)
Set 是否自动创建主题- Parameters:
AutoCreateTopicsEnable- 是否自动创建主题
-
getDefaultNumPartitions
public Long getDefaultNumPartitions()
Get 分区数- Returns:
- DefaultNumPartitions 分区数
-
setDefaultNumPartitions
public void setDefaultNumPartitions(Long DefaultNumPartitions)
Set 分区数- Parameters:
DefaultNumPartitions- 分区数
-
getDefaultReplicationFactor
public Long getDefaultReplicationFactor()
Get 默认的复制Factor- Returns:
- DefaultReplicationFactor 默认的复制Factor
-
setDefaultReplicationFactor
public void setDefaultReplicationFactor(Long DefaultReplicationFactor)
Set 默认的复制Factor- Parameters:
DefaultReplicationFactor- 默认的复制Factor
-
-