Class AclConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.AclConfig
-
public class AclConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
Get 动作,可取值:drop, transmit, forwardLong
getDPortEnd()
Get 目的端口结束,可取值范围0~65535Long
getDPortStart()
Get 目的端口起始,可取值范围0~65535String
getForwardProtocol()
Get 协议类型, 可取值tcp, udp, allLong
getPriority()
Get 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000 注意:此字段可能返回 null,表示取不到有效值。Long
getSPortEnd()
Get 来源端口结束,可取值范围0~65535Long
getSPortStart()
Get 来源端口起始,可取值范围0~65535void
setAction(String Action)
Set 动作,可取值:drop, transmit, forwardvoid
setDPortEnd(Long DPortEnd)
Set 目的端口结束,可取值范围0~65535void
setDPortStart(Long DPortStart)
Set 目的端口起始,可取值范围0~65535void
setForwardProtocol(String ForwardProtocol)
Set 协议类型, 可取值tcp, udp, allvoid
setPriority(Long Priority)
Set 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000 注意:此字段可能返回 null,表示取不到有效值。void
setSPortEnd(Long SPortEnd)
Set 来源端口结束,可取值范围0~65535void
setSPortStart(Long SPortStart)
Set 来源端口起始,可取值范围0~65535void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AclConfig
public AclConfig()
-
AclConfig
public AclConfig(AclConfig 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.
-
-
Method Detail
-
getForwardProtocol
public String getForwardProtocol()
Get 协议类型, 可取值tcp, udp, all- Returns:
- ForwardProtocol 协议类型, 可取值tcp, udp, all
-
setForwardProtocol
public void setForwardProtocol(String ForwardProtocol)
Set 协议类型, 可取值tcp, udp, all- Parameters:
ForwardProtocol
- 协议类型, 可取值tcp, udp, all
-
getDPortStart
public Long getDPortStart()
Get 目的端口起始,可取值范围0~65535- Returns:
- DPortStart 目的端口起始,可取值范围0~65535
-
setDPortStart
public void setDPortStart(Long DPortStart)
Set 目的端口起始,可取值范围0~65535- Parameters:
DPortStart
- 目的端口起始,可取值范围0~65535
-
getDPortEnd
public Long getDPortEnd()
Get 目的端口结束,可取值范围0~65535- Returns:
- DPortEnd 目的端口结束,可取值范围0~65535
-
setDPortEnd
public void setDPortEnd(Long DPortEnd)
Set 目的端口结束,可取值范围0~65535- Parameters:
DPortEnd
- 目的端口结束,可取值范围0~65535
-
getSPortStart
public Long getSPortStart()
Get 来源端口起始,可取值范围0~65535- Returns:
- SPortStart 来源端口起始,可取值范围0~65535
-
setSPortStart
public void setSPortStart(Long SPortStart)
Set 来源端口起始,可取值范围0~65535- Parameters:
SPortStart
- 来源端口起始,可取值范围0~65535
-
getSPortEnd
public Long getSPortEnd()
Get 来源端口结束,可取值范围0~65535- Returns:
- SPortEnd 来源端口结束,可取值范围0~65535
-
setSPortEnd
public void setSPortEnd(Long SPortEnd)
Set 来源端口结束,可取值范围0~65535- Parameters:
SPortEnd
- 来源端口结束,可取值范围0~65535
-
getAction
public String getAction()
Get 动作,可取值:drop, transmit, forward- Returns:
- Action 动作,可取值:drop, transmit, forward
-
setAction
public void setAction(String Action)
Set 动作,可取值:drop, transmit, forward- Parameters:
Action
- 动作,可取值:drop, transmit, forward
-
getPriority
public Long getPriority()
Get 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Priority 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000 注意:此字段可能返回 null,表示取不到有效值。
-
setPriority
public void setPriority(Long Priority)
Set 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Priority
- 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000 注意:此字段可能返回 null,表示取不到有效值。
-
-