Class StrategyInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.StrategyInfo
-
public class StrategyInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StrategyInfo()StrategyInfo(StrategyInfo 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 策略创建时间。 注意:此字段可能返回 null,表示取不到有效值。LonggetAttachEntityBoundaryCount()Get 关联权限边界实体数 注意:此字段可能返回 null,表示取不到有效值。LonggetAttachEntityCount()Get 关联策略实体数 注意:此字段可能返回 null,表示取不到有效值。LonggetAttachments()Get 关联的用户数LonggetCreateMode()Get 创建来源,1 通过控制台创建, 2 通过策略语法创建。LonggetDeactived()Get 是否已下线 注意:此字段可能返回 null,表示取不到有效值。String[]getDeactivedDetail()Get 已下线产品列表 注意:此字段可能返回 null,表示取不到有效值。StringgetDescription()Get 策略描述。 注意:此字段可能返回 null,表示取不到有效值。LonggetIsAttached()Get 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略 注意:此字段可能返回 null,表示取不到有效值。LonggetIsServiceLinkedPolicy()Get 是否是服务相关角色策略 注意:此字段可能返回 null,表示取不到有效值。LonggetPolicyId()Get 策略ID。StringgetPolicyName()Get 策略名称。StringgetServiceType()Get 策略关联的产品 注意:此字段可能返回 null,表示取不到有效值。LonggetType()Get 策略类型。1 表示自定义策略,2 表示预设策略。StringgetUpdateTime()Get 最后编辑时间 注意:此字段可能返回 null,表示取不到有效值。voidsetAddTime(String AddTime)Set 策略创建时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetAttachEntityBoundaryCount(Long AttachEntityBoundaryCount)Set 关联权限边界实体数 注意:此字段可能返回 null,表示取不到有效值。voidsetAttachEntityCount(Long AttachEntityCount)Set 关联策略实体数 注意:此字段可能返回 null,表示取不到有效值。voidsetAttachments(Long Attachments)Set 关联的用户数voidsetCreateMode(Long CreateMode)Set 创建来源,1 通过控制台创建, 2 通过策略语法创建。voidsetDeactived(Long Deactived)Set 是否已下线 注意:此字段可能返回 null,表示取不到有效值。voidsetDeactivedDetail(String[] DeactivedDetail)Set 已下线产品列表 注意:此字段可能返回 null,表示取不到有效值。voidsetDescription(String Description)Set 策略描述。 注意:此字段可能返回 null,表示取不到有效值。voidsetIsAttached(Long IsAttached)Set 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略 注意:此字段可能返回 null,表示取不到有效值。voidsetIsServiceLinkedPolicy(Long IsServiceLinkedPolicy)Set 是否是服务相关角色策略 注意:此字段可能返回 null,表示取不到有效值。voidsetPolicyId(Long PolicyId)Set 策略ID。voidsetPolicyName(String PolicyName)Set 策略名称。voidsetServiceType(String ServiceType)Set 策略关联的产品 注意:此字段可能返回 null,表示取不到有效值。voidsetType(Long Type)Set 策略类型。1 表示自定义策略,2 表示预设策略。voidsetUpdateTime(String UpdateTime)Set 最后编辑时间 注意:此字段可能返回 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
-
StrategyInfo
public StrategyInfo()
-
StrategyInfo
public StrategyInfo(StrategyInfo 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 策略创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AddTime 策略创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setAddTime
public void setAddTime(String AddTime)
Set 策略创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AddTime- 策略创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getType
public Long getType()
Get 策略类型。1 表示自定义策略,2 表示预设策略。- Returns:
- Type 策略类型。1 表示自定义策略,2 表示预设策略。
-
setType
public void setType(Long Type)
Set 策略类型。1 表示自定义策略,2 表示预设策略。- Parameters:
Type- 策略类型。1 表示自定义策略,2 表示预设策略。
-
getDescription
public String getDescription()
Get 策略描述。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Description 策略描述。 注意:此字段可能返回 null,表示取不到有效值。
-
setDescription
public void setDescription(String Description)
Set 策略描述。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Description- 策略描述。 注意:此字段可能返回 null,表示取不到有效值。
-
getCreateMode
public Long getCreateMode()
Get 创建来源,1 通过控制台创建, 2 通过策略语法创建。- Returns:
- CreateMode 创建来源,1 通过控制台创建, 2 通过策略语法创建。
-
setCreateMode
public void setCreateMode(Long CreateMode)
Set 创建来源,1 通过控制台创建, 2 通过策略语法创建。- Parameters:
CreateMode- 创建来源,1 通过控制台创建, 2 通过策略语法创建。
-
getAttachments
public Long getAttachments()
Get 关联的用户数- Returns:
- Attachments 关联的用户数
-
setAttachments
public void setAttachments(Long Attachments)
Set 关联的用户数- Parameters:
Attachments- 关联的用户数
-
getServiceType
public String getServiceType()
Get 策略关联的产品 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ServiceType 策略关联的产品 注意:此字段可能返回 null,表示取不到有效值。
-
setServiceType
public void setServiceType(String ServiceType)
Set 策略关联的产品 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ServiceType- 策略关联的产品 注意:此字段可能返回 null,表示取不到有效值。
-
getIsAttached
public Long getIsAttached()
Get 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IsAttached 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略 注意:此字段可能返回 null,表示取不到有效值。
-
setIsAttached
public void setIsAttached(Long IsAttached)
Set 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IsAttached- 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略 注意:此字段可能返回 null,表示取不到有效值。
-
getDeactived
public Long getDeactived()
Get 是否已下线 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Deactived 是否已下线 注意:此字段可能返回 null,表示取不到有效值。
-
setDeactived
public void setDeactived(Long Deactived)
Set 是否已下线 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Deactived- 是否已下线 注意:此字段可能返回 null,表示取不到有效值。
-
getDeactivedDetail
public String[] getDeactivedDetail()
Get 已下线产品列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DeactivedDetail 已下线产品列表 注意:此字段可能返回 null,表示取不到有效值。
-
setDeactivedDetail
public void setDeactivedDetail(String[] DeactivedDetail)
Set 已下线产品列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DeactivedDetail- 已下线产品列表 注意:此字段可能返回 null,表示取不到有效值。
-
getIsServiceLinkedPolicy
public Long getIsServiceLinkedPolicy()
Get 是否是服务相关角色策略 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IsServiceLinkedPolicy 是否是服务相关角色策略 注意:此字段可能返回 null,表示取不到有效值。
-
setIsServiceLinkedPolicy
public void setIsServiceLinkedPolicy(Long IsServiceLinkedPolicy)
Set 是否是服务相关角色策略 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IsServiceLinkedPolicy- 是否是服务相关角色策略 注意:此字段可能返回 null,表示取不到有效值。
-
getAttachEntityCount
public Long getAttachEntityCount()
Get 关联策略实体数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AttachEntityCount 关联策略实体数 注意:此字段可能返回 null,表示取不到有效值。
-
setAttachEntityCount
public void setAttachEntityCount(Long AttachEntityCount)
Set 关联策略实体数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AttachEntityCount- 关联策略实体数 注意:此字段可能返回 null,表示取不到有效值。
-
getAttachEntityBoundaryCount
public Long getAttachEntityBoundaryCount()
Get 关联权限边界实体数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AttachEntityBoundaryCount 关联权限边界实体数 注意:此字段可能返回 null,表示取不到有效值。
-
setAttachEntityBoundaryCount
public void setAttachEntityBoundaryCount(Long AttachEntityBoundaryCount)
Set 关联权限边界实体数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AttachEntityBoundaryCount- 关联权限边界实体数 注意:此字段可能返回 null,表示取不到有效值。
-
getUpdateTime
public String getUpdateTime()
Get 最后编辑时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UpdateTime 最后编辑时间 注意:此字段可能返回 null,表示取不到有效值。
-
setUpdateTime
public void setUpdateTime(String UpdateTime)
Set 最后编辑时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UpdateTime- 最后编辑时间 注意:此字段可能返回 null,表示取不到有效值。
-
-