com.aliyun.sdk.service.cs20151215.models.DescribeClusterNodePoolDetailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cs20151215 Show documentation
Show all versions of alibabacloud-cs20151215 Show documentation
Alibaba Cloud CS (20151215) Async SDK for Java
// 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 DescribeClusterNodePoolDetailRequest} extends {@link RequestModel}
*
* DescribeClusterNodePoolDetailRequest
*/
public class DescribeClusterNodePoolDetailRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("NodepoolId")
@com.aliyun.core.annotation.Validation(required = true)
private String nodepoolId;
private DescribeClusterNodePoolDetailRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.nodepoolId = builder.nodepoolId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterNodePoolDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return nodepoolId
*/
public String getNodepoolId() {
return this.nodepoolId;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String nodepoolId;
private Builder() {
super();
}
private Builder(DescribeClusterNodePoolDetailRequest request) {
super(request);
this.clusterId = request.clusterId;
this.nodepoolId = request.nodepoolId;
}
/**
* The ID of the cluster that you want to query.
*/
public Builder clusterId(String clusterId) {
this.putPathParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The node pool ID.
*/
public Builder nodepoolId(String nodepoolId) {
this.putPathParameter("NodepoolId", nodepoolId);
this.nodepoolId = nodepoolId;
return this;
}
@Override
public DescribeClusterNodePoolDetailRequest build() {
return new DescribeClusterNodePoolDetailRequest(this);
}
}
}