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 城市Code
|
String |
getCityName()
Get 城市名
|
String |
getCloudCode()
Get 云厂商,支持多个,以逗号分隔, 1:腾讯云(仅中国香港及海外),2:阿里云,3:亚马逊云,4:华为云,5:微软云
|
Long |
getCountry()
Get 国家Code
|
String |
getCountryName()
Get 国家名
|
String |
getDetail()
Get 描述
|
Long |
getDirection()
Get 方向,0:出站,1:入站
|
Long |
getId()
Get id值
|
Long |
getIsRegion()
Get 是否为地域
|
String |
getLogId()
Get 日志id,从告警处创建必传,其它为空
|
Long |
getOrderIndex()
Get 执行顺序
|
String |
getPort()
Get 端口
|
String |
getProtocol()
Get 协议
|
String |
getSourceIp()
Get 访问源
|
Long |
getSourceType()
Get 访问源类型,1是IP,3是域名,4是IP地址模版,5是域名地址模版
|
String |
getStrategy()
Get 策略
|
String |
getTargetIp()
Get 访问目的
|
Long |
getTargetType()
Get 访问目的类型,1是IP,3是域名,4是IP地址模版,5是域名地址模版
|
void |
setCity(Long City)
Set 城市Code
|
void |
setCityName(String CityName)
Set 城市名
|
void |
setCloudCode(String CloudCode)
Set 云厂商,支持多个,以逗号分隔, 1:腾讯云(仅中国香港及海外),2:阿里云,3:亚马逊云,4:华为云,5:微软云
|
void |
setCountry(Long Country)
Set 国家Code
|
void |
setCountryName(String CountryName)
Set 国家名
|
void |
setDetail(String Detail)
Set 描述
|
void |
setDirection(Long Direction)
Set 方向,0:出站,1:入站
|
void |
setId(Long Id)
Set id值
|
void |
setIsRegion(Long IsRegion)
Set 是否为地域
|
void |
setLogId(String LogId)
Set 日志id,从告警处创建必传,其它为空
|
void |
setOrderIndex(Long OrderIndex)
Set 执行顺序
|
void |
setPort(String Port)
Set 端口
|
void |
setProtocol(String Protocol)
Set 协议
|
void |
setSourceIp(String SourceIp)
Set 访问源
|
void |
setSourceType(Long SourceType)
Set 访问源类型,1是IP,3是域名,4是IP地址模版,5是域名地址模版
|
void |
setStrategy(String Strategy)
Set 策略
|
void |
setTargetIp(String TargetIp)
Set 访问目的
|
void |
setTargetType(Long TargetType)
Set 访问目的类型,1是IP,3是域名,4是IP地址模版,5是域名地址模版
|
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 RuleInfoData()
public RuleInfoData(RuleInfoData source)
public Long getOrderIndex()
public void setOrderIndex(Long OrderIndex)
OrderIndex
- 执行顺序public String getSourceIp()
public void setSourceIp(String SourceIp)
SourceIp
- 访问源public String getTargetIp()
public void setTargetIp(String TargetIp)
TargetIp
- 访问目的public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 协议public String getStrategy()
public void setStrategy(String Strategy)
Strategy
- 策略public Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- 访问源类型,1是IP,3是域名,4是IP地址模版,5是域名地址模版public Long getDirection()
public void setDirection(Long Direction)
Direction
- 方向,0:出站,1:入站public String getDetail()
public void setDetail(String Detail)
Detail
- 描述public Long getTargetType()
public void setTargetType(Long TargetType)
TargetType
- 访问目的类型,1是IP,3是域名,4是IP地址模版,5是域名地址模版public String getPort()
public void setPort(String Port)
Port
- 端口public Long getId()
public void setId(Long Id)
Id
- id值public String getLogId()
public void setLogId(String LogId)
LogId
- 日志id,从告警处创建必传,其它为空public Long getCity()
public void setCity(Long City)
City
- 城市Codepublic Long getCountry()
public void setCountry(Long Country)
Country
- 国家Codepublic String getCloudCode()
public void setCloudCode(String CloudCode)
CloudCode
- 云厂商,支持多个,以逗号分隔, 1:腾讯云(仅中国香港及海外),2:阿里云,3:亚马逊云,4:华为云,5:微软云public Long getIsRegion()
public void setIsRegion(Long IsRegion)
IsRegion
- 是否为地域public String getCityName()
public void setCityName(String CityName)
CityName
- 城市名public String getCountryName()
public void setCountryName(String CountryName)
CountryName
- 国家名Copyright © 2021. All rights reserved.