public class DescribeSecurityGroupsRequest extends AbstractModel
Constructor and Description |
---|
DescribeSecurityGroupsRequest() |
DescribeSecurityGroupsRequest(DescribeSecurityGroupsRequest 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 |
---|---|
Filter[] |
getFilters()
Get Filter.
|
Long |
getLimit()
Get Number of results to be returned.
|
Long |
getOffset()
Get Offset.
|
String[] |
getSecurityGroupIds()
Get Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1).
|
void |
setFilters(Filter[] Filters)
Set Filter.
|
void |
setLimit(Long Limit)
Set Number of results to be returned.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1).
|
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 DescribeSecurityGroupsRequest()
public DescribeSecurityGroupsRequest(DescribeSecurityGroupsRequest source)
public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). Each request supports a maximum of 100 instances. `SecurityGroupIds` and `Filters` cannot be specified at the same time.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filter. `SecurityGroupIds` and `Filters` cannot be specified at the same time.
security-group-id - String - (Filter) Security group ID.
security-group-name - String - (Filter) Security group name.
tag-key - String - Required: no - (Filter) Filter by tag key.
tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results to be returned. Default value: 20. Maximum value: 100.Copyright © 2023. All rights reserved.