public class DescAcItem extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescAcItem() | 
| DescAcItem(DescAcItem 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 | 
|---|---|
| BetaInfoByACL[] | getBetaList()Get Details of associated tasks
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| Long | getCityCode()Get City ID. | 
| String | getCityName()Get City name. | 
| String | getCloudCode()Get Cloud provider code. | 
| Long | getCount()Get Number of rule matching times. | 
| Long | getCountryCode()Get Country ID. | 
| String | getCountryName()Get Country name. | 
| String | getDescription()Get Description. | 
| Long | getDirection()Get Rule direction. | 
| String | getEnable()Get Rule status. | 
| String | getInstanceName()Get Instance name. | 
| Long | getInternalUuid()Get UUID for internal use. | 
| Long | getInvalid()Get Rule validity. | 
| Long | getIsCloud()Get Valid values: 0: common rules; 1: cloud provider rules. | 
| Long | getIsRegion()Get Valid values: 0: common rules; 1: regional rules. | 
| Long | getOrderIndex()Get Rule sequence number. | 
| String | getPort()Get Port. | 
| String | getProtocol()Get Protocol. | 
| String | getRuleAction()Get Action that Cloud Firewall performs on the traffic. | 
| String | getSourceContent()Get Access source. | 
| String | getSourceType()Get Access source type. | 
| Long | getStatus()Get Rule status. | 
| String | getTargetContent()Get Access destination. | 
| String | getTargetType()Get Access destination type. | 
| Long | getUuid()Get Unique ID of the rule. | 
| void | setBetaList(BetaInfoByACL[] BetaList)Set Details of associated tasks
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setCityCode(Long CityCode)Set City ID. | 
| void | setCityName(String CityName)Set City name. | 
| void | setCloudCode(String CloudCode)Set Cloud provider code. | 
| void | setCount(Long Count)Set Number of rule matching times. | 
| void | setCountryCode(Long CountryCode)Set Country ID. | 
| void | setCountryName(String CountryName)Set Country name. | 
| void | setDescription(String Description)Set Description. | 
| void | setDirection(Long Direction)Set Rule direction. | 
| void | setEnable(String Enable)Set Rule status. | 
| void | setInstanceName(String InstanceName)Set Instance name. | 
| void | setInternalUuid(Long InternalUuid)Set UUID for internal use. | 
| void | setInvalid(Long Invalid)Set Rule validity. | 
| void | setIsCloud(Long IsCloud)Set Valid values: 0: common rules; 1: cloud provider rules. | 
| void | setIsRegion(Long IsRegion)Set Valid values: 0: common rules; 1: regional rules. | 
| void | setOrderIndex(Long OrderIndex)Set Rule sequence number. | 
| void | setPort(String Port)Set Port. | 
| void | setProtocol(String Protocol)Set Protocol. | 
| void | setRuleAction(String RuleAction)Set Action that Cloud Firewall performs on the traffic. | 
| void | setSourceContent(String SourceContent)Set Access source. | 
| void | setSourceType(String SourceType)Set Access source type. | 
| void | setStatus(Long Status)Set Rule status. | 
| void | setTargetContent(String TargetContent)Set Access destination. | 
| void | setTargetType(String TargetType)Set Access destination type. | 
| void | setUuid(Long Uuid)Set Unique ID of the rule. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescAcItem()
public DescAcItem(DescAcItem source)
public String getSourceContent()
public void setSourceContent(String SourceContent)
SourceContent - Access source.
Note: This field may return null, indicating that no valid values can be obtained.public String getTargetContent()
public void setTargetContent(String TargetContent)
TargetContent - Access destination.
Note: This field may return null, indicating that no valid values can be obtained.public String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocol.
Note: This field may return null, indicating that no valid values can be obtained.public String getPort()
public void setPort(String Port)
Port - Port.
Note: This field may return null, indicating that no valid values can be obtained.public String getRuleAction()
public void setRuleAction(String RuleAction)
RuleAction - Action that Cloud Firewall performs on the traffic. Valid values: accept (allow), drop (reject), and log (monitor).
Note: This field may return null, indicating that no valid values can be obtained.public String getDescription()
public void setDescription(String Description)
Description - Description.
Note: This field may return null, indicating that no valid values can be obtained.public Long getCount()
public void setCount(Long Count)
Count - Number of rule matching times.public Long getOrderIndex()
public void setOrderIndex(Long OrderIndex)
OrderIndex - Rule sequence number.public String getSourceType()
public void setSourceType(String SourceType)
SourceType - Access source type. Valid values for an inbound rule: ip, net, template, and location; valid values for an outbound rule: ip, net, template, instance, group, and tag.
Note: This field may return null, indicating that no valid values can be obtained.public String getTargetType()
public void setTargetType(String TargetType)
TargetType - Access destination type. Valid values for an inbound rule: ip, net, template, instance, group, and tag; valid values for an outbound rule: ip, net, domain, template, and location.
Note: This field may return null, indicating that no valid values can be obtained.public Long getUuid()
public void setUuid(Long Uuid)
Uuid - Unique ID of the rule.
Note: This field may return null, indicating that no valid values can be obtained.public Long getInvalid()
public void setInvalid(Long Invalid)
Invalid - Rule validity.
Note: This field may return null, indicating that no valid values can be obtained.public Long getIsRegion()
public void setIsRegion(Long IsRegion)
IsRegion - Valid values: 0: common rules; 1: regional rules.
Note: This field may return null, indicating that no valid values can be obtained.public Long getCountryCode()
public void setCountryCode(Long CountryCode)
CountryCode - Country ID.
Note: This field may return null, indicating that no valid values can be obtained.public Long getCityCode()
public void setCityCode(Long CityCode)
CityCode - City ID.
Note: This field may return null, indicating that no valid values can be obtained.public String getCountryName()
public void setCountryName(String CountryName)
CountryName - Country name.
Note: This field may return null, indicating that no valid values can be obtained.public String getCityName()
public void setCityName(String CityName)
CityName - City name.
Note: This field may return null, indicating that no valid values can be obtained.public String getCloudCode()
public void setCloudCode(String CloudCode)
CloudCode - Cloud provider code.
Note: This field may return null, indicating that no valid values can be obtained.public Long getIsCloud()
public void setIsCloud(Long IsCloud)
IsCloud - Valid values: 0: common rules; 1: cloud provider rules.
Note: This field may return null, indicating that no valid values can be obtained.public String getEnable()
public void setEnable(String Enable)
Enable - Rule status. Valid values: true: enabled; false: disabled.
Note: This field may return null, indicating that no valid values can be obtained.public Long getDirection()
public void setDirection(Long Direction)
Direction - Rule direction. Valid values: 1: inbound; 0: outbound.
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Instance name.
Note: This field may return null, indicating that no valid values can be obtained.public Long getInternalUuid()
public void setInternalUuid(Long InternalUuid)
InternalUuid - UUID for internal use. Generally, this field is not required.
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status - Rule status. This field is valid when you query rule matching details. Valid values: 0: new; 1: deleted; 2: edited and deleted.
Note: This field may return null, indicating that no valid values can be obtained.public BetaInfoByACL[] getBetaList()
public void setBetaList(BetaInfoByACL[] BetaList)
BetaList - Details of associated tasks
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.