public class RuleInfoData extends AbstractModel
| Constructor and Description | 
|---|
RuleInfoData()  | 
RuleInfoData(RuleInfoData 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 | 
getCity()
Get City code 
 | 
String | 
getCityName()
Get City name 
 | 
String | 
getCloudCode()
Get Cloud vendor. 
 | 
Long | 
getCountry()
Get Country code 
 | 
String | 
getCountryName()
Get Country name 
 | 
String | 
getDetail()
Get Description 
 | 
Long | 
getDirection()
Get Direction. 
 | 
Long | 
getId()
Get ID value 
 | 
Long | 
getIsRegion()
Get Indicates whether it is a region 
 | 
String | 
getLogId()
Get Log ID, required when an alert log is created 
 | 
Long | 
getOrderIndex()
Get Priority 
 | 
String | 
getPort()
Get Port 
 | 
String | 
getProtocol()
Get Protocol 
 | 
String | 
getSourceIp()
Get Access source 
 | 
Long | 
getSourceType()
Get Access source type. 
 | 
String | 
getStrategy()
Get Policy. 
 | 
String | 
getTargetIp()
Get Access destination 
 | 
Long | 
getTargetType()
Get Access destination type. 
 | 
void | 
setCity(Long City)
Set City code 
 | 
void | 
setCityName(String CityName)
Set City name 
 | 
void | 
setCloudCode(String CloudCode)
Set Cloud vendor. 
 | 
void | 
setCountry(Long Country)
Set Country code 
 | 
void | 
setCountryName(String CountryName)
Set Country name 
 | 
void | 
setDetail(String Detail)
Set Description 
 | 
void | 
setDirection(Long Direction)
Set Direction. 
 | 
void | 
setId(Long Id)
Set ID value 
 | 
void | 
setIsRegion(Long IsRegion)
Set Indicates whether it is a region 
 | 
void | 
setLogId(String LogId)
Set Log ID, required when an alert log is created 
 | 
void | 
setOrderIndex(Long OrderIndex)
Set Priority 
 | 
void | 
setPort(String Port)
Set Port 
 | 
void | 
setProtocol(String Protocol)
Set Protocol 
 | 
void | 
setSourceIp(String SourceIp)
Set Access source 
 | 
void | 
setSourceType(Long SourceType)
Set Access source type. 
 | 
void | 
setStrategy(String Strategy)
Set Policy. 
 | 
void | 
setTargetIp(String TargetIp)
Set Access destination 
 | 
void | 
setTargetType(Long TargetType)
Set Access destination type. 
 | 
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, toJsonStringpublic RuleInfoData()
public RuleInfoData(RuleInfoData source)
public Long getOrderIndex()
public void setOrderIndex(Long OrderIndex)
OrderIndex - Prioritypublic String getSourceIp()
public void setSourceIp(String SourceIp)
SourceIp - Access sourcepublic String getTargetIp()
public void setTargetIp(String TargetIp)
TargetIp - Access destinationpublic String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocolpublic String getStrategy()
public void setStrategy(String Strategy)
Strategy - Policy. 0: observe; 1: block; 2: allowpublic Long getSourceType()
public void setSourceType(Long SourceType)
SourceType - Access source type. 1: IP; 3: domain name; 4: IP address template; 5: domain name address templatepublic Long getDirection()
public void setDirection(Long Direction)
Direction - Direction. 0: outbound; 1: inboundpublic String getDetail()
public void setDetail(String Detail)
Detail - Descriptionpublic Long getTargetType()
public void setTargetType(Long TargetType)
TargetType - Access destination type. 1: IP, 3: domain name; 4: IP address template; 5: domain name address templatepublic String getPort()
public void setPort(String Port)
Port - Portpublic Long getId()
public void setId(Long Id)
Id - ID valuepublic String getLogId()
public void setLogId(String LogId)
LogId - Log ID, required when an alert log is createdpublic Long getCity()
public void setCity(Long City)
City - City codepublic Long getCountry()
public void setCountry(Long Country)
Country - Country codepublic String getCloudCode()
public void setCloudCode(String CloudCode)
CloudCode - Cloud vendor. Multiple vendors are supported and separated with commas. 1: Tencent Cloud (only in Hong Kong, China and overseas); 2: Alibaba Cloud; 3: Amazon Cloud; 4: Huawei Cloud; 5: Microsoft Cloudpublic Long getIsRegion()
public void setIsRegion(Long IsRegion)
IsRegion - Indicates whether it is a regionpublic String getCityName()
public void setCityName(String CityName)
CityName - City namepublic String getCountryName()
public void setCountryName(String CountryName)
CountryName - Country nameCopyright © 2023. All rights reserved.