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