com.aliyun.cs20151215.models.ModifyClusterConfigurationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class ModifyClusterConfigurationRequest extends TeaModel {
/**
* The custom configuration.
*/
@NameInMap("customize_config")
public java.util.List customizeConfig;
public static ModifyClusterConfigurationRequest build(java.util.Map map) throws Exception {
ModifyClusterConfigurationRequest self = new ModifyClusterConfigurationRequest();
return TeaModel.build(map, self);
}
public ModifyClusterConfigurationRequest setCustomizeConfig(java.util.List customizeConfig) {
this.customizeConfig = customizeConfig;
return this;
}
public java.util.List getCustomizeConfig() {
return this.customizeConfig;
}
public static class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends TeaModel {
/**
* The name of the configuration item.
*
* example:
* MaxRequestsInflight
*/
@NameInMap("key")
public String key;
/**
* The value of the configuration item.
*
* example:
* 100
*/
@NameInMap("value")
public String value;
public static ModifyClusterConfigurationRequestCustomizeConfigConfigs build(java.util.Map map) throws Exception {
ModifyClusterConfigurationRequestCustomizeConfigConfigs self = new ModifyClusterConfigurationRequestCustomizeConfigConfigs();
return TeaModel.build(map, self);
}
public ModifyClusterConfigurationRequestCustomizeConfigConfigs setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public ModifyClusterConfigurationRequestCustomizeConfigConfigs setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class ModifyClusterConfigurationRequestCustomizeConfig extends TeaModel {
/**
* The custom configuration.
*/
@NameInMap("configs")
public java.util.List configs;
/**
* The name of the component.
*
* example:
* kube-apiserver
*/
@NameInMap("name")
public String name;
public static ModifyClusterConfigurationRequestCustomizeConfig build(java.util.Map map) throws Exception {
ModifyClusterConfigurationRequestCustomizeConfig self = new ModifyClusterConfigurationRequestCustomizeConfig();
return TeaModel.build(map, self);
}
public ModifyClusterConfigurationRequestCustomizeConfig setConfigs(java.util.List configs) {
this.configs = configs;
return this;
}
public java.util.List getConfigs() {
return this.configs;
}
public ModifyClusterConfigurationRequestCustomizeConfig setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}