ProtocolCustomSettingsFormat Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ProtocolCustomSettingsFormat

public class ProtocolCustomSettingsFormat

DDoS custom policy properties.

Constructor Summary

Constructor Description
ProtocolCustomSettingsFormat()

Method Summary

Modifier and Type Method and Description
DdosCustomPolicyProtocol 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.

DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride()

Get the customized DDoS protection trigger rate sensitivity degrees.

ProtocolCustomSettingsFormat withProtocol(DdosCustomPolicyProtocol protocol)

Set the protocol for which the DDoS protection policy is being customized.

ProtocolCustomSettingsFormat withSourceRateOverride(String sourceRateOverride)

Set the customized DDoS protection source rate.

ProtocolCustomSettingsFormat withTriggerRateOverride(String triggerRateOverride)

Set the customized DDoS protection trigger rate.

ProtocolCustomSettingsFormat withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)

Set the customized DDoS protection trigger rate sensitivity degrees.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the protocol value

sourceRateOverride

public String sourceRateOverride()

Get the customized DDoS protection source rate.

Returns:

the sourceRateOverride value

triggerRateOverride

public String triggerRateOverride()

Get the customized DDoS protection trigger rate.

Returns:

the triggerRateOverride value

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:

the triggerSensitivityOverride value

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:

protocol - the protocol value to set

Returns:

the ProtocolCustomSettingsFormat object itself.

withSourceRateOverride

public ProtocolCustomSettingsFormat withSourceRateOverride(String sourceRateOverride)

Set the customized DDoS protection source rate.

Parameters:

sourceRateOverride - the sourceRateOverride value to set

Returns:

the ProtocolCustomSettingsFormat object itself.

withTriggerRateOverride

public ProtocolCustomSettingsFormat withTriggerRateOverride(String triggerRateOverride)

Set the customized DDoS protection trigger rate.

Parameters:

triggerRateOverride - the triggerRateOverride value to set

Returns:

the ProtocolCustomSettingsFormat object itself.

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:

triggerSensitivityOverride - the triggerSensitivityOverride value to set

Returns:

the ProtocolCustomSettingsFormat object itself.

Applies to