public class ListServerGroupsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ListServerGroupsRequest.ListServerGroupsRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
maxResults
The number of entries per page.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
String |
regionId
The region ID of the NLB instance.
|
String |
resourceGroupId
The ID of the resource group to which the server group belongs.
|
List<String> |
serverGroupIds
The server group ID.
|
List<String> |
serverGroupNames
The names of the server groups to be queried.
|
String |
serverGroupType
The type of server group.
|
List<ListServerGroupsRequest.ListServerGroupsRequestTag> |
tag
The tags.
|
String |
vpcId
The ID of the virtual private cloud (VPC) to which the server group belongs.
|
| 构造器和说明 |
|---|
ListServerGroupsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListServerGroupsRequest |
build(Map<String,?> map) |
Integer |
getMaxResults() |
String |
getNextToken() |
String |
getRegionId() |
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 |
setRegionId(String regionId) |
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 per 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="RegionId") public String regionId
The region ID of the NLB instance.
You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
@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 ID. You can specify up to 20 server group IDs in each call.
@NameInMap(value="ServerGroupNames") public List<String> serverGroupNames
The names of the server groups to be queried. You can specify up to 20 names in each call.
@NameInMap(value="ServerGroupType") public String serverGroupType
The type of server group. Valid values:
* **Instance** : allows you to add servers of the **Ecs**, **Ens**, and **Eci** types.
* **Ip**: allows you to add servers by specifying IP addresses.
@NameInMap(value="Tag") public List<ListServerGroupsRequest.ListServerGroupsRequestTag> tag
The tags.
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC) to which the server group belongs.
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 setRegionId(String regionId)
public String getRegionId()
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 © 2023. All rights reserved.