ProtocolCustomSettingsFormat Class
- java.
lang. Object - com.
microsoft. azure. management. network. ProtocolCustomSettingsFormat
- com.
public class ProtocolCustomSettingsFormat
DDoS custom policy properties.
Constructor Summary
Constructor | Description | |
---|---|---|
ProtocolCustomSettingsFormat() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Ddos |
protocol()
Get the protocol for which the DDoS protection policy is being customized. |
java.lang.String |
sourceRateOverride()
Get the customized DDoS protection source rate. |
java.lang.String |
triggerRateOverride()
Get the customized DDoS protection trigger rate. |
Ddos |
triggerSensitivityOverride()
Get the customized DDoS protection trigger rate sensitivity degrees. |
Protocol |
withProtocol(DdosCustomPolicyProtocol protocol)
Set the protocol for which the DDoS protection policy is being customized. |
Protocol |
withSourceRateOverride(String sourceRateOverride)
Set the customized DDoS protection source rate. |
Protocol |
withTriggerRateOverride(String triggerRateOverride)
Set the customized DDoS protection trigger rate. |
Protocol |
withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)
Set the customized DDoS protection trigger rate sensitivity degrees. |
Methods inherited from java.lang.Object
Constructor Details
ProtocolCustomSettingsFormat
public ProtocolCustomSettingsFormat()
Method Details
protocol
public DdosCustomPolicyProtocol protocol()
Get the protocol for which the DDoS protection policy is being customized. Possible values include: 'Tcp', 'Udp', 'Syn'.
Returns:
sourceRateOverride
public String sourceRateOverride()
Get the customized DDoS protection source rate.
Returns:
triggerRateOverride
public String triggerRateOverride()
Get the customized DDoS protection trigger rate.
Returns:
triggerSensitivityOverride
public DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride()
Get 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. Possible values include: 'Relaxed', 'Low', 'Default', 'High'.
Returns:
withProtocol
public ProtocolCustomSettingsFormat withProtocol(DdosCustomPolicyProtocol protocol)
Set the protocol for which the DDoS protection policy is being customized. Possible values include: 'Tcp', 'Udp', 'Syn'.
Parameters:
Returns:
withSourceRateOverride
public ProtocolCustomSettingsFormat withSourceRateOverride(String sourceRateOverride)
Set the customized DDoS protection source rate.
Parameters:
Returns:
withTriggerRateOverride
public ProtocolCustomSettingsFormat withTriggerRateOverride(String triggerRateOverride)
Set the customized DDoS protection trigger rate.
Parameters:
Returns:
withTriggerSensitivityOverride
public ProtocolCustomSettingsFormat withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)
Set 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. Possible values include: 'Relaxed', 'Low', 'Default', 'High'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for