Class EnvironmentRole
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.EnvironmentRole
-
public class EnvironmentRole extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EnvironmentRole()EnvironmentRole(EnvironmentRole 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 StringgetCreateTime()Get 创建时间。StringgetEnvironmentId()Get 环境(命名空间)。String[]getPermissions()Get 授权项,最多只能包含produce、consume两项的非空字符串数组。StringgetRoleDescribe()Get 角色描述。StringgetRoleName()Get 角色名称。StringgetUpdateTime()Get 更新时间。voidsetCreateTime(String CreateTime)Set 创建时间。voidsetEnvironmentId(String EnvironmentId)Set 环境(命名空间)。voidsetPermissions(String[] Permissions)Set 授权项,最多只能包含produce、consume两项的非空字符串数组。voidsetRoleDescribe(String RoleDescribe)Set 角色描述。voidsetRoleName(String RoleName)Set 角色名称。voidsetUpdateTime(String UpdateTime)Set 更新时间。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
-
EnvironmentRole
public EnvironmentRole()
-
EnvironmentRole
public EnvironmentRole(EnvironmentRole 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
-
getEnvironmentId
public String getEnvironmentId()
Get 环境(命名空间)。- Returns:
- EnvironmentId 环境(命名空间)。
-
setEnvironmentId
public void setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)。- Parameters:
EnvironmentId- 环境(命名空间)。
-
getRoleName
public String getRoleName()
Get 角色名称。- Returns:
- RoleName 角色名称。
-
setRoleName
public void setRoleName(String RoleName)
Set 角色名称。- Parameters:
RoleName- 角色名称。
-
getPermissions
public String[] getPermissions()
Get 授权项,最多只能包含produce、consume两项的非空字符串数组。- Returns:
- Permissions 授权项,最多只能包含produce、consume两项的非空字符串数组。
-
setPermissions
public void setPermissions(String[] Permissions)
Set 授权项,最多只能包含produce、consume两项的非空字符串数组。- Parameters:
Permissions- 授权项,最多只能包含produce、consume两项的非空字符串数组。
-
getRoleDescribe
public String getRoleDescribe()
Get 角色描述。- Returns:
- RoleDescribe 角色描述。
-
setRoleDescribe
public void setRoleDescribe(String RoleDescribe)
Set 角色描述。- Parameters:
RoleDescribe- 角色描述。
-
getCreateTime
public String getCreateTime()
Get 创建时间。- Returns:
- CreateTime 创建时间。
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 创建时间。- Parameters:
CreateTime- 创建时间。
-
getUpdateTime
public String getUpdateTime()
Get 更新时间。- Returns:
- UpdateTime 更新时间。
-
setUpdateTime
public void setUpdateTime(String UpdateTime)
Set 更新时间。- Parameters:
UpdateTime- 更新时间。
-
-