public final class ProtocolCustomSettingsFormat extends Object
| Constructor and Description |
|---|
ProtocolCustomSettingsFormat() |
| Modifier and Type | Method and Description |
|---|---|
DdosCustomPolicyProtocol |
protocol()
Get the protocol property: The protocol for which the DDoS protection policy is being customized.
|
String |
sourceRateOverride()
Get the sourceRateOverride property: The customized DDoS protection source rate.
|
String |
triggerRateOverride()
Get the triggerRateOverride property: The customized DDoS protection trigger rate.
|
DdosCustomPolicyTriggerSensitivityOverride |
triggerSensitivityOverride()
Get the triggerSensitivityOverride property: The customized DDoS protection trigger rate sensitivity degrees.
|
void |
validate()
Validates the instance.
|
ProtocolCustomSettingsFormat |
withProtocol(DdosCustomPolicyProtocol protocol)
Set the protocol property: The protocol for which the DDoS protection policy is being customized.
|
ProtocolCustomSettingsFormat |
withSourceRateOverride(String sourceRateOverride)
Set the sourceRateOverride property: The customized DDoS protection source rate.
|
ProtocolCustomSettingsFormat |
withTriggerRateOverride(String triggerRateOverride)
Set the triggerRateOverride property: The customized DDoS protection trigger rate.
|
ProtocolCustomSettingsFormat |
withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)
Set the triggerSensitivityOverride property: The customized DDoS protection trigger rate sensitivity degrees.
|
public DdosCustomPolicyProtocol protocol()
public ProtocolCustomSettingsFormat withProtocol(DdosCustomPolicyProtocol protocol)
protocol - the protocol value to set.public String triggerRateOverride()
public ProtocolCustomSettingsFormat withTriggerRateOverride(String triggerRateOverride)
triggerRateOverride - the triggerRateOverride value to set.public String sourceRateOverride()
public ProtocolCustomSettingsFormat withSourceRateOverride(String sourceRateOverride)
sourceRateOverride - the sourceRateOverride value to set.public DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride()
public ProtocolCustomSettingsFormat withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)
triggerSensitivityOverride - the triggerSensitivityOverride value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.