com.aliyun.edas20170801.models.ListK8sConfigMapsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edas20170801 Show documentation
Show all versions of edas20170801 Show documentation
Alibaba Cloud Enterprise Distributed Application Service (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.edas20170801.models;
import com.aliyun.tea.*;
public class ListK8sConfigMapsRequest extends TeaModel {
/**
* The ID of the cluster.
*/
@NameInMap("ClusterId")
public String clusterId;
/**
* The filter conditions. Set this parameter to a JSON string in the format of {"field":"Name", "pattern":"configmap-"}.
*/
@NameInMap("Condition")
public java.util.Map condition;
/**
* The namespace of the Kubernetes cluster.
*/
@NameInMap("Namespace")
public String namespace;
/**
* The number of the page to return. Pages start from Page 0.
*/
@NameInMap("PageNo")
public Integer pageNo;
/**
* The number of entries to return on each page.
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the region.
*/
@NameInMap("RegionId")
public String regionId;
/**
* Specifies whether to return a list of applications that use a ConfigMap. Valid values: true and false.
*/
@NameInMap("ShowRelatedApps")
public Boolean showRelatedApps;
public static ListK8sConfigMapsRequest build(java.util.Map map) throws Exception {
ListK8sConfigMapsRequest self = new ListK8sConfigMapsRequest();
return TeaModel.build(map, self);
}
public ListK8sConfigMapsRequest setClusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
public String getClusterId() {
return this.clusterId;
}
public ListK8sConfigMapsRequest setCondition(java.util.Map condition) {
this.condition = condition;
return this;
}
public java.util.Map getCondition() {
return this.condition;
}
public ListK8sConfigMapsRequest setNamespace(String namespace) {
this.namespace = namespace;
return this;
}
public String getNamespace() {
return this.namespace;
}
public ListK8sConfigMapsRequest setPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
public Integer getPageNo() {
return this.pageNo;
}
public ListK8sConfigMapsRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListK8sConfigMapsRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ListK8sConfigMapsRequest setShowRelatedApps(Boolean showRelatedApps) {
this.showRelatedApps = showRelatedApps;
return this;
}
public Boolean getShowRelatedApps() {
return this.showRelatedApps;
}
}