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