public class DetailedRolePerm extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DetailedRolePerm() | 
| DetailedRolePerm(DetailedRolePerm 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 | 
|---|---|
| Boolean | getPermRead()Get 是否开启消费权限 | 
| Boolean | getPermWrite()Get 是否开启生产权限 | 
| String | getRemark()Get 资源备注 | 
| String | getResource()Get 权限对应的资源
可以是主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
可以是消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。 | 
| String | getResourceType()Get 授权资源类型(Topic:主题; Group:消费组) | 
| void | setPermRead(Boolean PermRead)Set 是否开启消费权限 | 
| void | setPermWrite(Boolean PermWrite)Set 是否开启生产权限 | 
| void | setRemark(String Remark)Set 资源备注 | 
| void | setResource(String Resource)Set 权限对应的资源
可以是主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
可以是消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。 | 
| void | setResourceType(String ResourceType)Set 授权资源类型(Topic:主题; Group:消费组) | 
| 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, toJsonStringpublic DetailedRolePerm()
public DetailedRolePerm(DetailedRolePerm source)
public String getResource()
public void setResource(String Resource)
Resource - 权限对应的资源
可以是主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
可以是消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。public Boolean getPermWrite()
public void setPermWrite(Boolean PermWrite)
PermWrite - 是否开启生产权限public Boolean getPermRead()
public void setPermRead(Boolean PermRead)
PermRead - 是否开启消费权限public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType - 授权资源类型(Topic:主题; Group:消费组)public String getRemark()
public void setRemark(String Remark)
Remark - 资源备注Copyright © 2025. All rights reserved.