com.aliyun.sdk.service.cs20151215.models.PauseComponentUpgradeRequest 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 PauseComponentUpgradeRequest} extends {@link RequestModel}
*
* PauseComponentUpgradeRequest
*/
public class PauseComponentUpgradeRequest 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 PauseComponentUpgradeRequest(Builder builder) {
super(builder);
this.clusterid = builder.clusterid;
this.componentid = builder.componentid;
}
public static Builder builder() {
return new Builder();
}
public static PauseComponentUpgradeRequest 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(PauseComponentUpgradeRequest 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.
*/
public Builder componentid(String componentid) {
this.putPathParameter("componentid", componentid);
this.componentid = componentid;
return this;
}
@Override
public PauseComponentUpgradeRequest build() {
return new PauseComponentUpgradeRequest(this);
}
}
}