public class ListServerGroupsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ListServerGroupsRequest.ListServerGroupsRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
maxResults
The number of entries to return on each page.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
String |
resourceGroupId
The ID of the resource group to which the server group belongs.
|
List<String> |
serverGroupIds
The server group IDs.
|
List<String> |
serverGroupNames
The names of the server groups to be queried.
|
String |
serverGroupType |
List<ListServerGroupsRequest.ListServerGroupsRequestTag> |
tag
The tags that are added to the server group.
|
String |
vpcId
The ID of the virtual private cloud (VPC).
|
| 构造器和说明 |
|---|
ListServerGroupsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListServerGroupsRequest |
build(Map<String,?> map) |
Integer |
getMaxResults() |
String |
getNextToken() |
String |
getResourceGroupId() |
List<String> |
getServerGroupIds() |
List<String> |
getServerGroupNames() |
String |
getServerGroupType() |
List<ListServerGroupsRequest.ListServerGroupsRequestTag> |
getTag() |
String |
getVpcId() |
ListServerGroupsRequest |
setMaxResults(Integer maxResults) |
ListServerGroupsRequest |
setNextToken(String nextToken) |
ListServerGroupsRequest |
setResourceGroupId(String resourceGroupId) |
ListServerGroupsRequest |
setServerGroupIds(List<String> serverGroupIds) |
ListServerGroupsRequest |
setServerGroupNames(List<String> serverGroupNames) |
ListServerGroupsRequest |
setServerGroupType(String serverGroupType) |
ListServerGroupsRequest |
setTag(List<ListServerGroupsRequest.ListServerGroupsRequestTag> tag) |
ListServerGroupsRequest |
setVpcId(String vpcId) |
@NameInMap(value="MaxResults") public Integer maxResults
The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.
@NameInMap(value="NextToken") public String nextToken
The pagination token that is used in the next request to retrieve a new page of results. Valid values:
* You do not need to specify this parameter for the first request.
* You must specify the token that is obtained from the previous query as the value of **NextToken**.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the server group belongs.
@NameInMap(value="ServerGroupIds") public List<String> serverGroupIds
The server group IDs.
@NameInMap(value="ServerGroupNames") public List<String> serverGroupNames
The names of the server groups to be queried. You can specify at most 10 server group names.
@NameInMap(value="ServerGroupType") public String serverGroupType
@NameInMap(value="Tag") public List<ListServerGroupsRequest.ListServerGroupsRequestTag> tag
The tags that are added to the server group. You can specify up to 10 tags in each call.
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC).
public static ListServerGroupsRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListServerGroupsRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public ListServerGroupsRequest setNextToken(String nextToken)
public String getNextToken()
public ListServerGroupsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public ListServerGroupsRequest setServerGroupIds(List<String> serverGroupIds)
public ListServerGroupsRequest setServerGroupNames(List<String> serverGroupNames)
public ListServerGroupsRequest setServerGroupType(String serverGroupType)
public String getServerGroupType()
public ListServerGroupsRequest setTag(List<ListServerGroupsRequest.ListServerGroupsRequestTag> tag)
public List<ListServerGroupsRequest.ListServerGroupsRequestTag> getTag()
public ListServerGroupsRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.