public class DescribeClustersRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeClustersRequest() |
DescribeClustersRequest(DescribeClustersRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getClusterIds()
Get Cluster ID list (When it is empty,
all clusters under the account will be obtained)
|
String |
getClusterType()
Get Cluster type, such as `MANAGED_CLUSTER`
|
Filter[] |
getFilters()
Get · "Name":"ClusterName","Values": ["test"] Filter by the [cluster name].
|
Long |
getLimit()
Get Maximum number of output entries.
|
Long |
getOffset()
Get Offset.
|
void |
setClusterIds(String[] ClusterIds)
Set Cluster ID list (When it is empty,
all clusters under the account will be obtained)
|
void |
setClusterType(String ClusterType)
Set Cluster type, such as `MANAGED_CLUSTER`
|
void |
setFilters(Filter[] Filters)
Set · "Name":"ClusterName","Values": ["test"] Filter by the [cluster name].
|
void |
setLimit(Long Limit)
Set Maximum number of output entries.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeClustersRequest()
public DescribeClustersRequest(DescribeClustersRequest source)
public String[] getClusterIds()
public void setClusterIds(String[] ClusterIds)
ClusterIds
- Cluster ID list (When it is empty,
all clusters under the account will be obtained)public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0public Long getLimit()
public void setLimit(Long Limit)
Limit
- Maximum number of output entries. Default value: 20public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- · "Name":"ClusterName","Values": ["test"] Filter by the [cluster name]. Type: String Required: No · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] Filter by the [cluster type]. Type: String Required: No · "Name":"ClusterStatus","Values": ["Running"] Filter by the [cluster status]. Type: String Required: No · "Name":"vpc-id","Values": ["vpc-123qajzs"] Filter by the [VPC]. Type: String Required: No · "Name":"tag-key","Values": ["testKey"] Filter by the [tag key]. Type: String Required: No · "Name":"tag-value","Values": ["testValue"] Filter by the [tag value]. Type: String Required: No · "Name":"Tags","Values": ["abc:1"] Filter by [key-value pairs of tags]. Type: String Required: Nopublic String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- Cluster type, such as `MANAGED_CLUSTER`Copyright © 2024. All rights reserved.