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

com.aliyun.sdk.service.ens20171110.models.DescribeClusterResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeClusterResponseBody} extends {@link TeaModel}
 *
 * 

DescribeClusterResponseBody

*/ public class DescribeClusterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Clusters") private java.util.List clusters; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeClusterResponseBody(Builder builder) { this.clusters = builder.clusters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeClusterResponseBody create() { return builder().build(); } /** * @return clusters */ public java.util.List getClusters() { return this.clusters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List clusters; private String requestId; /** *

An array that consists of the information about clusters.

*/ public Builder clusters(java.util.List clusters) { this.clusters = clusters; return this; } /** *

The ID of the request.

* * example: *

CEF72CEB-54B6-4AE8-B225-F876FF7BA984

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeClusterResponseBody build() { return new DescribeClusterResponseBody(this); } } /** * * {@link DescribeClusterResponseBody} extends {@link TeaModel} * *

DescribeClusterResponseBody

*/ public static class Clusters extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("CurrentVersion") private String currentVersion; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NextVersion") private String nextVersion; @com.aliyun.core.annotation.NameInMap("Status") private String status; private Clusters(Builder builder) { this.clusterId = builder.clusterId; this.currentVersion = builder.currentVersion; this.name = builder.name; this.nextVersion = builder.nextVersion; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Clusters create() { return builder().build(); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentVersion */ public String getCurrentVersion() { return this.currentVersion; } /** * @return name */ public String getName() { return this.name; } /** * @return nextVersion */ public String getNextVersion() { return this.nextVersion; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String clusterId; private String currentVersion; private String name; private String nextVersion; private String status; /** *

The cluster ID.

* * example: *

c8f0377146d104687ac562eef9403****

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** *

The version of the cluster.

* * example: *

1.18.8

*/ public Builder currentVersion(String currentVersion) { this.currentVersion = currentVersion; return this; } /** *

The cluster name.

* * example: *

vc-a622bb**

*/ public Builder name(String name) { this.name = name; return this; } /** *

The next version of the cluster.

* * example: *

1.20.8

*/ public Builder nextVersion(String nextVersion) { this.nextVersion = nextVersion; return this; } /** *

The health status of the instance.

*

Valid values:

*
    *
  • healthy
  • *
  • unhealthy
  • *
* * example: *

healthy

*/ public Builder status(String status) { this.status = status; return this; } public Clusters build() { return new Clusters(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy