public class SecurityGroupListData extends AbstractModel
Constructor and Description |
---|
SecurityGroupListData() |
SecurityGroupListData(SecurityGroupListData 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 |
---|---|
Long |
getBothWay()
Get One-way/two-way.
|
SecurityGroupBothWayInfo[] |
getBothWayInfo()
Get Two-way rules
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getCidr()
Get Masked address.
|
String |
getDetail()
Get Description
|
Long |
getDirection()
Get Direction.
|
Long |
getId()
Get Rule ID
|
String |
getInstanceName()
Get Instance name
Note: This field may return `null`, indicating that no valid value was found.
|
Long |
getIsNew()
Get Indicates whether the rule is normal.
|
Long |
getOrderIndex()
Get Priority
|
String |
getPort()
Get Destination port
|
String |
getPrivateIp()
Get Private IP.
|
String |
getProtocol()
Get Protocol
|
Long |
getProtocolPortType()
Get Indicates whether to use the port protocol template.
|
String |
getPublicIp()
Get Public IP.
|
String |
getServiceTemplateId()
Get Port protocol template ID
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getSourceId()
Get Access source
|
Long |
getSourceType()
Get Access source type.
|
Long |
getStatus()
Get Toggle status.
|
Long |
getStrategy()
Get Policy.
|
String |
getSubnetId()
Get Subnet ID
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getTargetId()
Get Access destination
|
Long |
getTargetType()
Get Access destination type.
|
String |
getVpcId()
Get VPC ID
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setBothWay(Long BothWay)
Set One-way/two-way.
|
void |
setBothWayInfo(SecurityGroupBothWayInfo[] BothWayInfo)
Set Two-way rules
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setCidr(String Cidr)
Set Masked address.
|
void |
setDetail(String Detail)
Set Description
|
void |
setDirection(Long Direction)
Set Direction.
|
void |
setId(Long Id)
Set Rule ID
|
void |
setInstanceName(String InstanceName)
Set Instance name
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setIsNew(Long IsNew)
Set Indicates whether the rule is normal.
|
void |
setOrderIndex(Long OrderIndex)
Set Priority
|
void |
setPort(String Port)
Set Destination port
|
void |
setPrivateIp(String PrivateIp)
Set Private IP.
|
void |
setProtocol(String Protocol)
Set Protocol
|
void |
setProtocolPortType(Long ProtocolPortType)
Set Indicates whether to use the port protocol template.
|
void |
setPublicIp(String PublicIp)
Set Public IP.
|
void |
setServiceTemplateId(String ServiceTemplateId)
Set Port protocol template ID
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setSourceId(String SourceId)
Set Access source
|
void |
setSourceType(Long SourceType)
Set Access source type.
|
void |
setStatus(Long Status)
Set Toggle status.
|
void |
setStrategy(Long Strategy)
Set Policy.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setTargetId(String TargetId)
Set Access destination
|
void |
setTargetType(Long TargetType)
Set Access destination type.
|
void |
setVpcId(String VpcId)
Set VPC ID
Note: This field may return `null`, indicating that no valid value was found.
|
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 SecurityGroupListData()
public SecurityGroupListData(SecurityGroupListData source)
public Long getOrderIndex()
public void setOrderIndex(Long OrderIndex)
OrderIndex
- Prioritypublic String getSourceId()
public void setSourceId(String SourceId)
SourceId
- Access sourcepublic Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- Access source type. Default: 0. 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: Resource grouppublic String getTargetId()
public void setTargetId(String TargetId)
TargetId
- Access destinationpublic Long getTargetType()
public void setTargetType(Long TargetType)
TargetType
- Access destination type. Default: 0. 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template; 100: resource grouppublic String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocolpublic String getPort()
public void setPort(String Port)
Port
- Destination portpublic Long getStrategy()
public void setStrategy(Long Strategy)
Strategy
- Policy. 1: block; 2: allowpublic String getDetail()
public void setDetail(String Detail)
Detail
- Descriptionpublic Long getBothWay()
public void setBothWay(Long BothWay)
BothWay
- One-way/two-way. 0: one-way; 1: two-waypublic Long getId()
public void setId(Long Id)
Id
- Rule IDpublic Long getStatus()
public void setStatus(Long Status)
Status
- Toggle status. 0: off; 1: onpublic Long getIsNew()
public void setIsNew(Long IsNew)
IsNew
- Indicates whether the rule is normal. 0: normal; 1: abnormalpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID
Note: This field may return `null`, indicating that no valid value was found.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID
Note: This field may return `null`, indicating that no valid value was found.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name
Note: This field may return `null`, indicating that no valid value was found.public String getPublicIp()
public void setPublicIp(String PublicIp)
PublicIp
- Public IP. Multiple IPs are separated by commas.
Note: This field may return `null`, indicating that no valid value was found.public String getPrivateIp()
public void setPrivateIp(String PrivateIp)
PrivateIp
- Private IP. Multiple IPs are separated by commas.
Note: This field may return `null`, indicating that no valid value was found.public String getCidr()
public void setCidr(String Cidr)
Cidr
- Masked address. Multiple addresses are separated by commas.
Note: This field may return `null`, indicating that no valid value was found.public String getServiceTemplateId()
public void setServiceTemplateId(String ServiceTemplateId)
ServiceTemplateId
- Port protocol template ID
Note: This field may return `null`, indicating that no valid value was found.public SecurityGroupBothWayInfo[] getBothWayInfo()
public void setBothWayInfo(SecurityGroupBothWayInfo[] BothWayInfo)
BothWayInfo
- Two-way rules
Note: This field may return `null`, indicating that no valid value was found.public Long getDirection()
public void setDirection(Long Direction)
Direction
- Direction. 0: outbound; 1: inbound. 1 by defaultpublic Long getProtocolPortType()
public void setProtocolPortType(Long ProtocolPortType)
ProtocolPortType
- Indicates whether to use the port protocol template. 0: no; 1: yesCopyright © 2023. All rights reserved.