Class AlertPolicyRule.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public AlertPolicyRule.Builder key​(String key)
        The unique key of the alert policy rule.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • description

        public AlertPolicyRule.Builder description​(String description)
        Describes the alert policy rule.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • expression

        public AlertPolicyRule.Builder expression​(String expression)
        The conditional expression of the alert policy rule which evaluates to boolean value.
        Parameters:
        expression - the value to set
        Returns:
        this builder
      • displayName

        public AlertPolicyRule.Builder displayName​(String displayName)
        The display name of the alert policy rule.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • timeCreated

        public AlertPolicyRule.Builder timeCreated​(Date timeCreated)
        Creation date and time of the alert policy rule, in the format defined by RFC3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder