Class SecurityPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcr.v20190924.models.SecurityPolicy
-
public class SecurityPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SecurityPolicy()
SecurityPolicy(SecurityPolicy 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 String
getCidrBlock()
Get 运行访问的公网IP地址端String
getDescription()
Get 备注Long
getPolicyIndex()
Get 策略索引String
getPolicyVersion()
Get 安全策略的版本void
setCidrBlock(String CidrBlock)
Set 运行访问的公网IP地址端void
setDescription(String Description)
Set 备注void
setPolicyIndex(Long PolicyIndex)
Set 策略索引void
setPolicyVersion(String PolicyVersion)
Set 安全策略的版本void
toMap(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
-
SecurityPolicy
public SecurityPolicy()
-
SecurityPolicy
public SecurityPolicy(SecurityPolicy 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
-
getPolicyIndex
public Long getPolicyIndex()
Get 策略索引- Returns:
- PolicyIndex 策略索引
-
setPolicyIndex
public void setPolicyIndex(Long PolicyIndex)
Set 策略索引- Parameters:
PolicyIndex
- 策略索引
-
getDescription
public String getDescription()
Get 备注- Returns:
- Description 备注
-
setDescription
public void setDescription(String Description)
Set 备注- Parameters:
Description
- 备注
-
getCidrBlock
public String getCidrBlock()
Get 运行访问的公网IP地址端- Returns:
- CidrBlock 运行访问的公网IP地址端
-
setCidrBlock
public void setCidrBlock(String CidrBlock)
Set 运行访问的公网IP地址端- Parameters:
CidrBlock
- 运行访问的公网IP地址端
-
getPolicyVersion
public String getPolicyVersion()
Get 安全策略的版本- Returns:
- PolicyVersion 安全策略的版本
-
setPolicyVersion
public void setPolicyVersion(String PolicyVersion)
Set 安全策略的版本- Parameters:
PolicyVersion
- 安全策略的版本
-
-