Class DescribeSecurityGroupsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.DescribeSecurityGroupsRequest
-
public class DescribeSecurityGroupsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 请使用具体的标签键进行替换。StringgetLimit()Get 返回数量,默认为20,最大值为100。StringgetOffset()Get 偏移量,默认为0。StringgetOrderDirection()Get 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`StringgetOrderField()Get 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。String[]getSecurityGroupIds()Get 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。voidsetFilters(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 请使用具体的标签键进行替换。voidsetLimit(String Limit)Set 返回数量,默认为20,最大值为100。voidsetOffset(String Offset)Set 偏移量,默认为0。voidsetOrderDirection(String OrderDirection)Set 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`voidsetOrderField(String OrderField)Set 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。voidsetSecurityGroupIds(String[] SecurityGroupIds)Set 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeSecurityGroupsRequest
public DescribeSecurityGroupsRequest()
-
DescribeSecurityGroupsRequest
public 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.
-
-
Method Detail
-
getSecurityGroupIds
public String[] getSecurityGroupIds()
Get 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。- Returns:
- SecurityGroupIds 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。
-
setSecurityGroupIds
public void setSecurityGroupIds(String[] SecurityGroupIds)
Set 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。- Parameters:
SecurityGroupIds- 安全组实例ID,例如:sg-33ocnj9n。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。
-
getFilters
public 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 请使用具体的标签键进行替换。
- Returns:
- Filters 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。
- security-group-id - String - (过滤条件)安全组ID。
- project-id - Integer - (过滤条件)项目ID。
- security-group-name - String - (过滤条件)安全组名称。
- tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 其中 tag-key 请使用具体的标签键进行替换。
-
setFilters
public 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 请使用具体的标签键进行替换。
- Parameters:
Filters- 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。- security-group-id - String - (过滤条件)安全组ID。
- project-id - Integer - (过滤条件)项目ID。
- security-group-name - String - (过滤条件)安全组名称。
- tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 其中 tag-key 请使用具体的标签键进行替换。
-
getOffset
public String getOffset()
Get 偏移量,默认为0。- Returns:
- Offset 偏移量,默认为0。
-
setOffset
public void setOffset(String Offset)
Set 偏移量,默认为0。- Parameters:
Offset- 偏移量,默认为0。
-
getLimit
public String getLimit()
Get 返回数量,默认为20,最大值为100。- Returns:
- Limit 返回数量,默认为20,最大值为100。
-
setLimit
public void setLimit(String Limit)
Set 返回数量,默认为20,最大值为100。- Parameters:
Limit- 返回数量,默认为20,最大值为100。
-
getOrderField
public String getOrderField()
Get 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。- Returns:
- OrderField 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。
-
setOrderField
public void setOrderField(String OrderField)
Set 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。- Parameters:
OrderField- 排序字段。支持:`CreatedTime` `UpdateTime`。注意:该字段没有默认值。
-
getOrderDirection
public String getOrderDirection()
Get 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`- Returns:
- OrderDirection 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`
-
setOrderDirection
public void setOrderDirection(String OrderDirection)
Set 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`- Parameters:
OrderDirection- 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`
-
-