Class ProtocolCustomSettingsFormat

java.lang.Object
com.azure.resourcemanager.network.models.ProtocolCustomSettingsFormat

public final class ProtocolCustomSettingsFormat extends Object
DDoS custom policy properties.
  • Constructor Details

    • ProtocolCustomSettingsFormat

      public ProtocolCustomSettingsFormat()
  • Method Details

    • protocol

      public DdosCustomPolicyProtocol 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

      public String triggerRateOverride()
      Get the triggerRateOverride property: The customized DDoS protection trigger rate.
      Returns:
      the triggerRateOverride value.
    • withTriggerRateOverride

      public ProtocolCustomSettingsFormat withTriggerRateOverride(String triggerRateOverride)
      Set the triggerRateOverride property: The customized DDoS protection trigger rate.
      Parameters:
      triggerRateOverride - the triggerRateOverride value to set.
      Returns:
      the ProtocolCustomSettingsFormat object itself.
    • sourceRateOverride

      public String sourceRateOverride()
      Get the sourceRateOverride property: The customized DDoS protection source rate.
      Returns:
      the sourceRateOverride value.
    • withSourceRateOverride

      public ProtocolCustomSettingsFormat withSourceRateOverride(String sourceRateOverride)
      Set the sourceRateOverride property: The customized DDoS protection source rate.
      Parameters:
      sourceRateOverride - the sourceRateOverride value to set.
      Returns:
      the ProtocolCustomSettingsFormat object itself.
    • triggerSensitivityOverride

      public DdosCustomPolicyTriggerSensitivityOverride 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.