Class CreateSecurityGroupRulesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cfw.v20190904.models.CreateSecurityGroupRulesRequest
-
public class CreateSecurityGroupRulesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateSecurityGroupRulesRequest()CreateSecurityGroupRulesRequest(CreateSecurityGroupRulesRequest 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 SecurityGroupListData[]getData()Get 添加的企业安全组规则数据LonggetDirection()Get 方向,0:出站,1:入站,默认1LonggetEnable()Get 添加后是否启用规则,0:不启用,1:启用,默认1LonggetType()Get 0:后插,1:前插,2:中插,默认0voidsetData(SecurityGroupListData[] Data)Set 添加的企业安全组规则数据voidsetDirection(Long Direction)Set 方向,0:出站,1:入站,默认1voidsetEnable(Long Enable)Set 添加后是否启用规则,0:不启用,1:启用,默认1voidsetType(Long Type)Set 0:后插,1:前插,2:中插,默认0voidtoMap(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
-
CreateSecurityGroupRulesRequest
public CreateSecurityGroupRulesRequest()
-
CreateSecurityGroupRulesRequest
public CreateSecurityGroupRulesRequest(CreateSecurityGroupRulesRequest 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
-
getData
public SecurityGroupListData[] getData()
Get 添加的企业安全组规则数据- Returns:
- Data 添加的企业安全组规则数据
-
setData
public void setData(SecurityGroupListData[] Data)
Set 添加的企业安全组规则数据- Parameters:
Data- 添加的企业安全组规则数据
-
getDirection
public Long getDirection()
Get 方向,0:出站,1:入站,默认1- Returns:
- Direction 方向,0:出站,1:入站,默认1
-
setDirection
public void setDirection(Long Direction)
Set 方向,0:出站,1:入站,默认1- Parameters:
Direction- 方向,0:出站,1:入站,默认1
-
getType
public Long getType()
Get 0:后插,1:前插,2:中插,默认0- Returns:
- Type 0:后插,1:前插,2:中插,默认0
-
setType
public void setType(Long Type)
Set 0:后插,1:前插,2:中插,默认0- Parameters:
Type- 0:后插,1:前插,2:中插,默认0
-
getEnable
public Long getEnable()
Get 添加后是否启用规则,0:不启用,1:启用,默认1- Returns:
- Enable 添加后是否启用规则,0:不启用,1:启用,默认1
-
setEnable
public void setEnable(Long Enable)
Set 添加后是否启用规则,0:不启用,1:启用,默认1- Parameters:
Enable- 添加后是否启用规则,0:不启用,1:启用,默认1
-
-