
com.aliyun.sdk.service.cs20151215.models.DescribeClusterAddonUpgradeStatusRequest 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 DescribeClusterAddonUpgradeStatusRequest} extends {@link RequestModel}
*
* DescribeClusterAddonUpgradeStatusRequest
*/
public class DescribeClusterAddonUpgradeStatusRequest 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("ComponentId")
@com.aliyun.core.annotation.Validation(required = true)
private String componentId;
private DescribeClusterAddonUpgradeStatusRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.componentId = builder.componentId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterAddonUpgradeStatusRequest 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;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String componentId;
private Builder() {
super();
}
private Builder(DescribeClusterAddonUpgradeStatusRequest request) {
super(request);
this.clusterId = request.clusterId;
this.componentId = request.componentId;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putPathParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The component ID. Example: nginx-ingress-controller, flexvolume, or metrics-server.
*
*
* You can call the `DescribeAddons` API operation to query the components supported by the cluster.
*/
public Builder componentId(String componentId) {
this.putPathParameter("ComponentId", componentId);
this.componentId = componentId;
return this;
}
@Override
public DescribeClusterAddonUpgradeStatusRequest build() {
return new DescribeClusterAddonUpgradeStatusRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy