public class CreateSecurityGroupRulesRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
SecurityGroupListData[] |
getData()
Get 添加的企业安全组规则数据
|
Long |
getDirection()
Get 方向,0:出站,1:入站,默认1
|
Long |
getEnable()
Get 添加后是否启用规则,0:不启用,1:启用,默认1
|
Long |
getType()
Get 0:后插,1:前插,2:中插,默认0
|
void |
setData(SecurityGroupListData[] Data)
Set 添加的企业安全组规则数据
|
void |
setDirection(Long Direction)
Set 方向,0:出站,1:入站,默认1
|
void |
setEnable(Long Enable)
Set 添加后是否启用规则,0:不启用,1:启用,默认1
|
void |
setType(Long Type)
Set 0:后插,1:前插,2:中插,默认0
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateSecurityGroupRulesRequest()
public CreateSecurityGroupRulesRequest(CreateSecurityGroupRulesRequest source)
public SecurityGroupListData[] getData()
public void setData(SecurityGroupListData[] Data)
Data
- 添加的企业安全组规则数据public Long getDirection()
public void setDirection(Long Direction)
Direction
- 方向,0:出站,1:入站,默认1public Long getType()
public void setType(Long Type)
Type
- 0:后插,1:前插,2:中插,默认0public Long getEnable()
public void setEnable(Long Enable)
Enable
- 添加后是否启用规则,0:不启用,1:启用,默认1Copyright © 2024. All rights reserved.