Class GetAlertPolicyRespResult

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

    public class GetAlertPolicyRespResult
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Container for response information.
    • Constructor Detail

      • GetAlertPolicyRespResult

        public GetAlertPolicyRespResult()
    • Method Detail

      • getId

        public String getId()
        Gets the id. Policy ID.
        Returns:
        the id
      • getName

        public String getName()
        Gets the name. Policy Name.
        Returns:
        the name
      • getDescription

        public String getDescription()
        Gets the description. Alert Policy description.
        Returns:
        the description
      • isEnabled

        public Boolean isEnabled()
        Gets the enabled. Is the alert enabled.
        Returns:
        the enabled
      • getAlertType

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

        public GetAlertPolicyRespResultMechanisms getMechanisms()
        Gets the mechanisms. Delivery mechanisms for the alert, can include an email, a webhook, or both.
        Returns:
        the mechanisms
      • getCreated

        public String getCreated()
        Gets the created. When was the policy first created.
        Returns:
        the created
      • getModified

        public String getModified()
        Gets the modified. When was the policy last modified.
        Returns:
        the modified
      • getConditions

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

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