Class CreateRoleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.CreateRoleRequest
-
public class CreateRoleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateRoleRequest()CreateRoleRequest(CreateRoleRequest 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 StringgetClusterId()Get 必填字段,集群IdStringgetRemark()Get 备注说明,长度必须大等于0且小等于128。StringgetRoleName()Get 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。voidsetClusterId(String ClusterId)Set 必填字段,集群IdvoidsetRemark(String Remark)Set 备注说明,长度必须大等于0且小等于128。voidsetRoleName(String RoleName)Set 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。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
-
CreateRoleRequest
public CreateRoleRequest()
-
CreateRoleRequest
public CreateRoleRequest(CreateRoleRequest 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
-
getRoleName
public String getRoleName()
Get 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。- Returns:
- RoleName 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
-
setRoleName
public void setRoleName(String RoleName)
Set 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。- Parameters:
RoleName- 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
-
getRemark
public String getRemark()
Get 备注说明,长度必须大等于0且小等于128。- Returns:
- Remark 备注说明,长度必须大等于0且小等于128。
-
setRemark
public void setRemark(String Remark)
Set 备注说明,长度必须大等于0且小等于128。- Parameters:
Remark- 备注说明,长度必须大等于0且小等于128。
-
getClusterId
public String getClusterId()
Get 必填字段,集群Id- Returns:
- ClusterId 必填字段,集群Id
-
setClusterId
public void setClusterId(String ClusterId)
Set 必填字段,集群Id- Parameters:
ClusterId- 必填字段,集群Id
-
-