com.aliyun.sdk.service.cs20151215.models.GetClusterCheckRequest 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 GetClusterCheckRequest} extends {@link RequestModel}
*
* GetClusterCheckRequest
*/
public class GetClusterCheckRequest 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("check_id")
@com.aliyun.core.annotation.Validation(required = true)
private String checkId;
private GetClusterCheckRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.checkId = builder.checkId;
}
public static Builder builder() {
return new Builder();
}
public static GetClusterCheckRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return checkId
*/
public String getCheckId() {
return this.checkId;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String checkId;
private Builder() {
super();
}
private Builder(GetClusterCheckRequest request) {
super(request);
this.clusterId = request.clusterId;
this.checkId = request.checkId;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putPathParameter("cluster_id", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The ID of the cluster check task.
*/
public Builder checkId(String checkId) {
this.putPathParameter("check_id", checkId);
this.checkId = checkId;
return this;
}
@Override
public GetClusterCheckRequest build() {
return new GetClusterCheckRequest(this);
}
}
}