Class ModifyInstanceAttributesConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.ModifyInstanceAttributesConfig
-
public class ModifyInstanceAttributesConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyInstanceAttributesConfig()
ModifyInstanceAttributesConfig(ModifyInstanceAttributesConfig 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 Boolean
getAutoCreateTopicEnable()
Get 自动创建 true 表示开启,false 表示不开启Long
getDefaultNumPartitions()
Get 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3Long
getDefaultReplicationFactor()
Get 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2void
setAutoCreateTopicEnable(Boolean AutoCreateTopicEnable)
Set 自动创建 true 表示开启,false 表示不开启void
setDefaultNumPartitions(Long DefaultNumPartitions)
Set 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3void
setDefaultReplicationFactor(Long DefaultReplicationFactor)
Set 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2void
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
-
ModifyInstanceAttributesConfig
public ModifyInstanceAttributesConfig()
-
ModifyInstanceAttributesConfig
public ModifyInstanceAttributesConfig(ModifyInstanceAttributesConfig 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
-
getAutoCreateTopicEnable
public Boolean getAutoCreateTopicEnable()
Get 自动创建 true 表示开启,false 表示不开启- Returns:
- AutoCreateTopicEnable 自动创建 true 表示开启,false 表示不开启
-
setAutoCreateTopicEnable
public void setAutoCreateTopicEnable(Boolean AutoCreateTopicEnable)
Set 自动创建 true 表示开启,false 表示不开启- Parameters:
AutoCreateTopicEnable
- 自动创建 true 表示开启,false 表示不开启
-
getDefaultNumPartitions
public Long getDefaultNumPartitions()
Get 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3- Returns:
- DefaultNumPartitions 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3
-
setDefaultNumPartitions
public void setDefaultNumPartitions(Long DefaultNumPartitions)
Set 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3- Parameters:
DefaultNumPartitions
- 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3
-
getDefaultReplicationFactor
public Long getDefaultReplicationFactor()
Get 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2- Returns:
- DefaultReplicationFactor 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2
-
setDefaultReplicationFactor
public void setDefaultReplicationFactor(Long DefaultReplicationFactor)
Set 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2- Parameters:
DefaultReplicationFactor
- 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2
-
-