Class AttachedPolicyOfRole
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.AttachedPolicyOfRole
-
public class AttachedPolicyOfRole extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AttachedPolicyOfRole()AttachedPolicyOfRole(AttachedPolicyOfRole 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 StringgetAddTime()Get 绑定时间LonggetCreateMode()Get 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建LonggetDeactived()Get 是否已下线(0:否 1:是) 注意:此字段可能返回 null,表示取不到有效值。String[]getDeactivedDetail()Get 已下线的产品列表 注意:此字段可能返回 null,表示取不到有效值。StringgetDescription()Get 策略描述 注意:此字段可能返回 null,表示取不到有效值。LonggetPolicyId()Get 策略IDStringgetPolicyName()Get 策略名称StringgetPolicyType()Get 策略类型,User表示自定义策略,QCS表示预设策略 注意:此字段可能返回 null,表示取不到有效值。voidsetAddTime(String AddTime)Set 绑定时间voidsetCreateMode(Long CreateMode)Set 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建voidsetDeactived(Long Deactived)Set 是否已下线(0:否 1:是) 注意:此字段可能返回 null,表示取不到有效值。voidsetDeactivedDetail(String[] DeactivedDetail)Set 已下线的产品列表 注意:此字段可能返回 null,表示取不到有效值。voidsetDescription(String Description)Set 策略描述 注意:此字段可能返回 null,表示取不到有效值。voidsetPolicyId(Long PolicyId)Set 策略IDvoidsetPolicyName(String PolicyName)Set 策略名称voidsetPolicyType(String PolicyType)Set 策略类型,User表示自定义策略,QCS表示预设策略 注意:此字段可能返回 null,表示取不到有效值。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
-
AttachedPolicyOfRole
public AttachedPolicyOfRole()
-
AttachedPolicyOfRole
public AttachedPolicyOfRole(AttachedPolicyOfRole 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
-
getPolicyId
public Long getPolicyId()
Get 策略ID- Returns:
- PolicyId 策略ID
-
setPolicyId
public void setPolicyId(Long PolicyId)
Set 策略ID- Parameters:
PolicyId- 策略ID
-
getPolicyName
public String getPolicyName()
Get 策略名称- Returns:
- PolicyName 策略名称
-
setPolicyName
public void setPolicyName(String PolicyName)
Set 策略名称- Parameters:
PolicyName- 策略名称
-
getAddTime
public String getAddTime()
Get 绑定时间- Returns:
- AddTime 绑定时间
-
setAddTime
public void setAddTime(String AddTime)
Set 绑定时间- Parameters:
AddTime- 绑定时间
-
getPolicyType
public String getPolicyType()
Get 策略类型,User表示自定义策略,QCS表示预设策略 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PolicyType 策略类型,User表示自定义策略,QCS表示预设策略 注意:此字段可能返回 null,表示取不到有效值。
-
setPolicyType
public void setPolicyType(String PolicyType)
Set 策略类型,User表示自定义策略,QCS表示预设策略 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PolicyType- 策略类型,User表示自定义策略,QCS表示预设策略 注意:此字段可能返回 null,表示取不到有效值。
-
getCreateMode
public Long getCreateMode()
Get 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建- Returns:
- CreateMode 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建
-
setCreateMode
public void setCreateMode(Long CreateMode)
Set 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建- Parameters:
CreateMode- 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建
-
getDeactived
public Long getDeactived()
Get 是否已下线(0:否 1:是) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Deactived 是否已下线(0:否 1:是) 注意:此字段可能返回 null,表示取不到有效值。
-
setDeactived
public void setDeactived(Long Deactived)
Set 是否已下线(0:否 1:是) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Deactived- 是否已下线(0:否 1:是) 注意:此字段可能返回 null,表示取不到有效值。
-
getDeactivedDetail
public String[] getDeactivedDetail()
Get 已下线的产品列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DeactivedDetail 已下线的产品列表 注意:此字段可能返回 null,表示取不到有效值。
-
setDeactivedDetail
public void setDeactivedDetail(String[] DeactivedDetail)
Set 已下线的产品列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DeactivedDetail- 已下线的产品列表 注意:此字段可能返回 null,表示取不到有效值。
-
getDescription
public String getDescription()
Get 策略描述 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Description 策略描述 注意:此字段可能返回 null,表示取不到有效值。
-
setDescription
public void setDescription(String Description)
Set 策略描述 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Description- 策略描述 注意:此字段可能返回 null,表示取不到有效值。
-
-