Class CreateAlertPolicyOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateAlertPolicyOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createAlertPolicy options.
    • Method Detail

      • name

        public String name()
        Gets the name. Policy name.
        Returns:
        the name
      • description

        public String description()
        Gets the description. Policy description.
        Returns:
        the description
      • enabled

        public Boolean enabled()
        Gets the enabled. Is the alert policy active.
        Returns:
        the enabled
      • alertType

        public String alertType()
        Gets the alertType. Condition for the alert.
        Returns:
        the alertType
      • filters

        public Map<String,​Object> filters()
        Gets the filters. Optional filters depending for the alert type.
        Returns:
        the filters
      • conditions

        public Map<String,​Object> conditions()
        Gets the conditions. Conditions depending on the alert type. HTTP DDOS Attack Alerter does not have any conditions. The Load Balancing Pool Enablement Alerter takes conditions that describe for all pools whether the pool is being enabled, disabled, or both. This field is not required when creating a new alert.
        Returns:
        the conditions