public class DescribeClusterInstancesRequest extends AbstractModel
Constructor and Description |
---|
DescribeClusterInstancesRequest() |
DescribeClusterInstancesRequest(DescribeClusterInstancesRequest 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 |
getClusterId()
Get Cluster ID
|
Filter[] |
getFilters()
Get Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool).
|
String[] |
getInstanceIds()
Get List of instance IDs to be obtained.
|
String |
getInstanceRole()
Get Node role.
|
Long |
getLimit()
Get Maximum number of output entries.
|
Long |
getOffset()
Get Offset.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setFilters(Filter[] Filters)
Set Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool).
|
void |
setInstanceIds(String[] InstanceIds)
Set List of instance IDs to be obtained.
|
void |
setInstanceRole(String InstanceRole)
Set Node role.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeClusterInstancesRequest()
public DescribeClusterInstancesRequest(DescribeClusterInstancesRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic 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 String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- List of instance IDs to be obtained. This parameter is empty by default, which indicates that all instances in the cluster will be pulled.public String getInstanceRole()
public void setInstanceRole(String InstanceRole)
InstanceRole
- Node role. Valid values are MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool). For `nodepool-instance-type`, the values can be `MANUALLY_ADDED`, `AUTOSCALING_ADDED` and `ALL`.Copyright © 2023. All rights reserved.