public class DescribeSecurityGroupsRequest extends AbstractModel
header, skipSign
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 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。
security-group-id - String - (过滤条件)安全组ID。
project-id - Integer - (过滤条件)项目ID。
security-group-name - String - (过滤条件)安全组名称。
tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 其中 tag-key 请使用具体的标签键进行替换。
|
String |
getLimit()
Get 返回数量,默认为20,最大值为100。
|
String |
getOffset()
Get 偏移量,默认为0。
|
String |
getOrderDirection()
Get 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`
|
String |
getOrderField()
Get 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。
|
String[] |
getSecurityGroupIds()
Get 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。
|
void |
setFilters(Filter[] Filters)
Set 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。
security-group-id - String - (过滤条件)安全组ID。
project-id - Integer - (过滤条件)项目ID。
security-group-name - String - (过滤条件)安全组名称。
tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 其中 tag-key 请使用具体的标签键进行替换。
|
void |
setLimit(String Limit)
Set 返回数量,默认为20,最大值为100。
|
void |
setOffset(String Offset)
Set 偏移量,默认为0。
|
void |
setOrderDirection(String OrderDirection)
Set 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`
|
void |
setOrderField(String OrderField)
Set 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeSecurityGroupsRequest()
public DescribeSecurityGroupsRequest(DescribeSecurityGroupsRequest source)
public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。
public String getOffset()
public void setOffset(String Offset)
Offset
- 偏移量,默认为0。public String getLimit()
public void setLimit(String Limit)
Limit
- 返回数量,默认为20,最大值为100。public String getOrderField()
public void setOrderField(String OrderField)
OrderField
- 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。public String getOrderDirection()
public void setOrderDirection(String OrderDirection)
OrderDirection
- 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`Copyright © 2024. All rights reserved.