All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cs20151215.models.GetClusterAddonInstanceResponseBody Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
// 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 GetClusterAddonInstanceResponseBody} extends {@link TeaModel}
 *
 * 

GetClusterAddonInstanceResponseBody

*/ public class GetClusterAddonInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("config") private String config; @com.aliyun.core.annotation.NameInMap("logging") private Logging logging; @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 GetClusterAddonInstanceResponseBody(Builder builder) { this.config = builder.config; this.logging = builder.logging; this.name = builder.name; this.state = builder.state; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static GetClusterAddonInstanceResponseBody create() { return builder().build(); } /** * @return config */ public String getConfig() { return this.config; } /** * @return logging */ public Logging getLogging() { return this.logging; } /** * @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 Logging logging; private String name; private String state; private String version; /** * The custom configurations of the component. */ public Builder config(String config) { this.config = config; return this; } /** * The status of Simple Log Service. */ public Builder logging(Logging logging) { this.logging = logging; return this; } /** * The name of the component instance. */ public Builder name(String name) { this.name = name; return this; } /** * The status of the component. Valid values: *

* * * active: The component is installed. * * updating: The component is being modified. * * upgrading: The component is being updated. * * deleting: The component is being uninstalled. */ public Builder state(String state) { this.state = state; return this; } /** * The version of the component instance. */ public Builder version(String version) { this.version = version; return this; } public GetClusterAddonInstanceResponseBody build() { return new GetClusterAddonInstanceResponseBody(this); } } public static class Logging extends TeaModel { @com.aliyun.core.annotation.NameInMap("capable") private Boolean capable; @com.aliyun.core.annotation.NameInMap("enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("log_project") private String logProject; @com.aliyun.core.annotation.NameInMap("logstore") private String logstore; private Logging(Builder builder) { this.capable = builder.capable; this.enabled = builder.enabled; this.logProject = builder.logProject; this.logstore = builder.logstore; } public static Builder builder() { return new Builder(); } public static Logging create() { return builder().build(); } /** * @return capable */ public Boolean getCapable() { return this.capable; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return logProject */ public String getLogProject() { return this.logProject; } /** * @return logstore */ public String getLogstore() { return this.logstore; } public static final class Builder { private Boolean capable; private Boolean enabled; private String logProject; private String logstore; /** * Indicates whether Simple Log Service is supported by the component. */ public Builder capable(Boolean capable) { this.capable = capable; return this; } /** * Indicates whether Simple Log Service is enabled for the component. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The Simple Log Service project that is used to collect logs for the component. */ public Builder logProject(String logProject) { this.logProject = logProject; return this; } /** * The Simple Log Service Logstore that is used to collect logs for the component. */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } public Logging build() { return new Logging(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy