com.aliyun.cs20151215.models.StandardComponentsValue 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 StandardComponentsValue extends TeaModel {
/**
* The name of the component.
*
* example:
* ack-arena
*/
@NameInMap("name")
public String name;
/**
* The version of the component.
*
* example:
* 0.5.0
*/
@NameInMap("version")
public String version;
/**
* The description of the component.
*
* example:
*
*/
@NameInMap("description")
public String description;
/**
* Indicates whether the component is a required component. Valid values:
*
* true
: The component is required and must be installed when a cluster is created.
* false
: The component is optional. After a cluster is created, you can go to the Add-ons
page to install the component.
*
*
* example:
* false
*/
@NameInMap("required")
public String required;
/**
* Indicates whether the automatic installation of the component is disabled. By default, some optional components, such as components for logging and Ingresses, are installed when a cluster is created. You can set this parameter to disable automatic component installation. Valid values:
*
* true
: disables automatic component installation.
* false
: enables automatic component installation.
*
*
* example:
* false
*/
@NameInMap("disabled")
public Boolean disabled;
public static StandardComponentsValue build(java.util.Map map) throws Exception {
StandardComponentsValue self = new StandardComponentsValue();
return TeaModel.build(map, self);
}
public StandardComponentsValue setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public StandardComponentsValue setVersion(String version) {
this.version = version;
return this;
}
public String getVersion() {
return this.version;
}
public StandardComponentsValue setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public StandardComponentsValue setRequired(String required) {
this.required = required;
return this;
}
public String getRequired() {
return this.required;
}
public StandardComponentsValue setDisabled(Boolean disabled) {
this.disabled = disabled;
return this;
}
public Boolean getDisabled() {
return this.disabled;
}
}