Class ProtocolCustomSettingsFormat

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

public class ProtocolCustomSettingsFormat extends Object
DDoS custom policy properties.
  • 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
    • withProtocol

      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.
    • triggerRateOverride

      public String triggerRateOverride()
      Get the customized DDoS protection trigger rate.
      Returns:
      the triggerRateOverride value
    • 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.
    • sourceRateOverride

      public String sourceRateOverride()
      Get the customized DDoS protection source rate.
      Returns:
      the sourceRateOverride value
    • 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.
    • 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
    • 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.