com.aliyun.sdk.service.ecs20140526.models.DescribeClustersResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClustersResponseBody} extends {@link TeaModel}
*
* DescribeClustersResponseBody
*/
public class DescribeClustersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Clusters")
private Clusters clusters;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClustersResponseBody(Builder builder) {
this.clusters = builder.clusters;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClustersResponseBody create() {
return builder().build();
}
/**
* @return clusters
*/
public Clusters getClusters() {
return this.clusters;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Clusters clusters;
private String requestId;
/**
* Clusters.
*/
public Builder clusters(Clusters clusters) {
this.clusters = clusters;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClustersResponseBody build() {
return new DescribeClustersResponseBody(this);
}
}
public static class Cluster extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
private Cluster(Builder builder) {
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static Cluster create() {
return builder().build();
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder {
private String clusterId;
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
public Cluster build() {
return new Cluster(this);
}
}
}
public static class Clusters extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Cluster")
private java.util.List < Cluster> cluster;
private Clusters(Builder builder) {
this.cluster = builder.cluster;
}
public static Builder builder() {
return new Builder();
}
public static Clusters create() {
return builder().build();
}
/**
* @return cluster
*/
public java.util.List < Cluster> getCluster() {
return this.cluster;
}
public static final class Builder {
private java.util.List < Cluster> cluster;
/**
* Cluster.
*/
public Builder cluster(java.util.List < Cluster> cluster) {
this.cluster = cluster;
return this;
}
public Clusters build() {
return new Clusters(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy