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 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3
|
Long |
getDefaultReplicationFactor()
Get 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2
|
void |
setAutoCreateTopicEnable(Boolean AutoCreateTopicEnable)
Set 自动创建 true 表示开启,false 表示不开启
|
void |
setDefaultNumPartitions(Long DefaultNumPartitions)
Set 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3
|
void |
setDefaultReplicationFactor(Long DefaultReplicationFactor)
Set 如果auto.create.topic.enable设置为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, toJsonString
public 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
- 可选,如果auto.create.topic.enable设置为true没有设置该值时,默认设置为3public Long getDefaultReplicationFactor()
public void setDefaultReplicationFactor(Long DefaultReplicationFactor)
DefaultReplicationFactor
- 如果auto.create.topic.enable设置为true没有指定该值时默认设置为2Copyright © 2024. All rights reserved.