public class CreateBasicDDoSAlarmThresholdRequest extends AbstractModel
Constructor and Description |
---|
CreateBasicDDoSAlarmThresholdRequest() |
CreateBasicDDoSAlarmThresholdRequest(CreateBasicDDoSAlarmThresholdRequest 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 |
getAlarmThreshold()
Get Alarm threshold.
|
Long |
getAlarmType()
Get Alarm threshold type.
|
String |
getBusiness()
Get Anti-DDoS service type (`basic`: Anti-DDoS Basic)
|
String |
getMethod()
Get `get`: read alarm threshold, `set`: set alarm threshold
|
void |
setAlarmThreshold(Long AlarmThreshold)
Set Alarm threshold.
|
void |
setAlarmType(Long AlarmType)
Set Alarm threshold type.
|
void |
setBusiness(String Business)
Set Anti-DDoS service type (`basic`: Anti-DDoS Basic)
|
void |
setMethod(String Method)
Set `get`: read alarm threshold, `set`: set alarm threshold
|
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 CreateBasicDDoSAlarmThresholdRequest()
public CreateBasicDDoSAlarmThresholdRequest(CreateBasicDDoSAlarmThresholdRequest source)
public String getBusiness()
public void setBusiness(String Business)
Business
- Anti-DDoS service type (`basic`: Anti-DDoS Basic)public String getMethod()
public void setMethod(String Method)
Method
- `get`: read alarm threshold, `set`: set alarm thresholdpublic Long getAlarmType()
public void setAlarmType(Long AlarmType)
AlarmType
- Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is required if `Method` is `set`;public Long getAlarmThreshold()
public void setAlarmThreshold(Long AlarmThreshold)
AlarmThreshold
- Alarm threshold. It is required if `Method` is `set`. If it is set to 0, it means to clear the alarm threshold configuration;Copyright © 2023. All rights reserved.