com.aliyun.sdk.service.cs20151215.models.DescribeClusterAddonInstanceResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cs20151215 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterAddonInstanceResponseBody} extends {@link TeaModel}
*
* DescribeClusterAddonInstanceResponseBody
*/
public class DescribeClusterAddonInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("config")
private String config;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("state")
private String state;
@com.aliyun.core.annotation.NameInMap("version")
private String version;
private DescribeClusterAddonInstanceResponseBody(Builder builder) {
this.config = builder.config;
this.name = builder.name;
this.state = builder.state;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterAddonInstanceResponseBody create() {
return builder().build();
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String config;
private String name;
private String state;
private String version;
/**
* The configuration of the component.
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* The name of the component.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The status of the component. Valid values:
*
*
* * initial: the component is being installed.
* * active: the component is installed.
* * unhealthy: the component abnormal.
* * upgrading: the component is being updated.
* * updating: the component is being modified.
* * deleting: the component is being uninstalled.
* * deleted: The component is deleted.
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* The version of the component.
*/
public Builder version(String version) {
this.version = version;
return this;
}
public DescribeClusterAddonInstanceResponseBody build() {
return new DescribeClusterAddonInstanceResponseBody(this);
}
}
}