com.aliyun.sdk.service.gpdb20160503.models.DescribeDBClusterNodeResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-gpdb20160503 Show documentation
Show all versions of alibabacloud-gpdb20160503 Show documentation
Alibaba Cloud gpdb (20160503) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeDBClusterNodeResponseBody} extends {@link TeaModel}
*
* DescribeDBClusterNodeResponseBody
*/
public class DescribeDBClusterNodeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBClusterId")
private String DBClusterId;
@com.aliyun.core.annotation.NameInMap("Nodes")
private java.util.List < Nodes> nodes;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeDBClusterNodeResponseBody(Builder builder) {
this.DBClusterId = builder.DBClusterId;
this.nodes = builder.nodes;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDBClusterNodeResponseBody create() {
return builder().build();
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return nodes
*/
public java.util.List < Nodes> getNodes() {
return this.nodes;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String DBClusterId;
private java.util.List < Nodes> nodes;
private String requestId;
/**
* The instance ID.
*/
public Builder DBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
/**
* The name of the node.
*/
public Builder nodes(java.util.List < Nodes> nodes) {
this.nodes = nodes;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeDBClusterNodeResponseBody build() {
return new DescribeDBClusterNodeResponseBody(this);
}
}
public static class Nodes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
private Nodes(Builder builder) {
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Nodes create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String name;
/**
* The name of the node.
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Nodes build() {
return new Nodes(this);
}
}
}
}