Class ProtocolCustomSettingsFormat
java.lang.Object
com.azure.resourcemanager.network.models.ProtocolCustomSettingsFormat
DDoS custom policy properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotocol()Get the protocol property: The protocol for which the DDoS protection policy is being customized.Get the sourceRateOverride property: The customized DDoS protection source rate.Get the triggerRateOverride property: The customized DDoS protection trigger rate.Get the triggerSensitivityOverride property: The customized DDoS protection trigger rate sensitivity degrees.voidvalidate()Validates the instance.withProtocol(DdosCustomPolicyProtocol protocol) Set the protocol property: The protocol for which the DDoS protection policy is being customized.withSourceRateOverride(String sourceRateOverride) Set the sourceRateOverride property: The customized DDoS protection source rate.withTriggerRateOverride(String triggerRateOverride) Set the triggerRateOverride property: The customized DDoS protection trigger rate.withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride) Set the triggerSensitivityOverride property: The customized DDoS protection trigger rate sensitivity degrees.
-
Constructor Details
-
ProtocolCustomSettingsFormat
public ProtocolCustomSettingsFormat()
-
-
Method Details
-
protocol
Get the protocol property: The protocol for which the DDoS protection policy is being customized.- Returns:
- the protocol value.
-
withProtocol
Set the protocol property: The protocol for which the DDoS protection policy is being customized.- Parameters:
protocol- the protocol value to set.- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
triggerRateOverride
Get the triggerRateOverride property: The customized DDoS protection trigger rate.- Returns:
- the triggerRateOverride value.
-
withTriggerRateOverride
Set the triggerRateOverride property: The customized DDoS protection trigger rate.- Parameters:
triggerRateOverride- the triggerRateOverride value to set.- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
sourceRateOverride
Get the sourceRateOverride property: The customized DDoS protection source rate.- Returns:
- the sourceRateOverride value.
-
withSourceRateOverride
Set the sourceRateOverride property: The customized DDoS protection source rate.- Parameters:
sourceRateOverride- the sourceRateOverride value to set.- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
triggerSensitivityOverride
Get the triggerSensitivityOverride property: The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.- Returns:
- the triggerSensitivityOverride value.
-
withTriggerSensitivityOverride
public ProtocolCustomSettingsFormat withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride) Set the triggerSensitivityOverride property: The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.- Parameters:
triggerSensitivityOverride- the triggerSensitivityOverride value to set.- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-