public class CreateSecurityGroupRulesRequest extends AbstractModel
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 Added enterprise security group rule data
|
Long |
getDirection()
Get Direction.
|
Long |
getEnable()
Get Indicates whether to enable rules after addition.
|
Long |
getType()
Get 0: at the end; 1: at the top; 2: in the middle.
|
void |
setData(SecurityGroupListData[] Data)
Set Added enterprise security group rule data
|
void |
setDirection(Long Direction)
Set Direction.
|
void |
setEnable(Long Enable)
Set Indicates whether to enable rules after addition.
|
void |
setType(Long Type)
Set 0: at the end; 1: at the top; 2: in the middle.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateSecurityGroupRulesRequest()
public CreateSecurityGroupRulesRequest(CreateSecurityGroupRulesRequest source)
public SecurityGroupListData[] getData()
public void setData(SecurityGroupListData[] Data)
Data
- Added enterprise security group rule datapublic Long getDirection()
public void setDirection(Long Direction)
Direction
- Direction. 0: outbound; 1: inbound. 1 by defaultpublic Long getType()
public void setType(Long Type)
Type
- 0: at the end; 1: at the top; 2: in the middle. 0 by defaultpublic Long getEnable()
public void setEnable(Long Enable)
Enable
- Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by defaultCopyright © 2023. All rights reserved.