com.aliyun.sdk.service.cs20151215.models.ListClusterChecksRequest 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 ListClusterChecksRequest} extends {@link RequestModel}
*
* ListClusterChecksRequest
*/
public class ListClusterChecksRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("cluster_id")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("target")
private String target;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private ListClusterChecksRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.target = builder.target;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListClusterChecksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return target
*/
public String getTarget() {
return this.target;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String target;
private String type;
private Builder() {
super();
}
private Builder(ListClusterChecksRequest request) {
super(request);
this.clusterId = request.clusterId;
this.target = request.target;
this.type = request.type;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putPathParameter("cluster_id", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The targets to check.
*/
public Builder target(String target) {
this.putQueryParameter("target", target);
this.target = target;
return this;
}
/**
* The check method.
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public ListClusterChecksRequest build() {
return new ListClusterChecksRequest(this);
}
}
}