public class DescribeProjectSecurityGroupRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeProjectSecurityGroupRequest() |
DescribeProjectSecurityGroupRequest(DescribeProjectSecurityGroupRequest 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 |
---|---|
Long |
getProjectId()
Get Project ID for query.
|
String |
getSecurityGroupId()
Get Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
|
void |
setProjectId(Long ProjectId)
Set Project ID for query.
|
void |
setSecurityGroupId(String SecurityGroupId)
Set Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
|
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 DescribeProjectSecurityGroupRequest()
public DescribeProjectSecurityGroupRequest(DescribeProjectSecurityGroupRequest source)
public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID for query.
- 0: default project.
- -1: all projects.
- Greater than 0: specific project. Log in to the [project management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId
- Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).Copyright © 2025. All rights reserved.