com.aliyun.sdk.service.cs20151215.models.DescribeClusterAddonMetadataRequest 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 DescribeClusterAddonMetadataRequest} extends {@link RequestModel}
*
* DescribeClusterAddonMetadataRequest
*/
public class DescribeClusterAddonMetadataRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("cluster_id")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("component_id")
@com.aliyun.core.annotation.Validation(required = true)
private String componentId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("version")
private String version;
private DescribeClusterAddonMetadataRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.componentId = builder.componentId;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterAddonMetadataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return componentId
*/
public String getComponentId() {
return this.componentId;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String componentId;
private String version;
private Builder() {
super();
}
private Builder(DescribeClusterAddonMetadataRequest request) {
super(request);
this.clusterId = request.clusterId;
this.componentId = request.componentId;
this.version = request.version;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putPathParameter("cluster_id", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The component ID.
*/
public Builder componentId(String componentId) {
this.putPathParameter("component_id", componentId);
this.componentId = componentId;
return this;
}
/**
* version.
*/
public Builder version(String version) {
this.putQueryParameter("version", version);
this.version = version;
return this;
}
@Override
public DescribeClusterAddonMetadataRequest build() {
return new DescribeClusterAddonMetadataRequest(this);
}
}
}