public class ModifyInstanceAttributesConfig extends AbstractModel
Constructor and Description |
---|
ModifyInstanceAttributesConfig() |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
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 © 2020. All rights reserved.