com.aliyun.sdk.service.edas20170801.models.ListK8sNamespacesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-edas20170801 Show documentation
Show all versions of alibabacloud-edas20170801 Show documentation
Alibaba Cloud Edas (20170801) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListK8sNamespacesRequest} extends {@link RequestModel}
*
* ListK8sNamespacesRequest
*/
public class ListK8sNamespacesRequest extends Request {
@Query
@NameInMap("ClusterId")
private String clusterId;
private ListK8sNamespacesRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static ListK8sNamespacesRequest 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(ListK8sNamespacesRequest request) {
super(request);
this.clusterId = request.clusterId;
}
/**
* The ID of the cluster in Enterprise Distributed Application Service (EDAS).
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public ListK8sNamespacesRequest build() {
return new ListK8sNamespacesRequest(this);
}
}
}