public class ModifyInstanceAttributesConfig extends AbstractModel
header, skipSign| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getAutoCreateTopicEnable()Get 自动创建 true 表示开启,false 表示不开启 | 
| Long | getDefaultNumPartitions()Get 新创建主题的默认分区数,如果AutoCreateTopicEnable设置为true没有设置该值时,默认设置为3 | 
| Long | getDefaultReplicationFactor()Get 新创建主题的默认副本数,如果AutoCreateTopicEnable设置为true没有指定该值时默认设置为2 | 
| void | setAutoCreateTopicEnable(Boolean AutoCreateTopicEnable)Set 自动创建 true 表示开启,false 表示不开启 | 
| void | setDefaultNumPartitions(Long DefaultNumPartitions)Set 新创建主题的默认分区数,如果AutoCreateTopicEnable设置为true没有设置该值时,默认设置为3 | 
| void | setDefaultReplicationFactor(Long DefaultReplicationFactor)Set 新创建主题的默认副本数,如果AutoCreateTopicEnable设置为true没有指定该值时默认设置为2 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyInstanceAttributesConfig()
public ModifyInstanceAttributesConfig(ModifyInstanceAttributesConfig source)
public Boolean getAutoCreateTopicEnable()
public void setAutoCreateTopicEnable(Boolean AutoCreateTopicEnable)
AutoCreateTopicEnable - 自动创建 true 表示开启,false 表示不开启public Long getDefaultNumPartitions()
public void setDefaultNumPartitions(Long DefaultNumPartitions)
DefaultNumPartitions - 新创建主题的默认分区数,如果AutoCreateTopicEnable设置为true没有设置该值时,默认设置为3public Long getDefaultReplicationFactor()
public void setDefaultReplicationFactor(Long DefaultReplicationFactor)
DefaultReplicationFactor - 新创建主题的默认副本数,如果AutoCreateTopicEnable设置为true没有指定该值时默认设置为2Copyright © 2025. All rights reserved.