Class Suppression.Builder

  • Enclosing class:
    Suppression

    public static class Suppression.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public Suppression.Builder description​(String description)
        Human-readable reason for suppressing alarm notifications.

        It does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Oracle recommends including tracking information for the event or associated work, such as a ticket number.

        Example: Planned outage due to change IT-1234.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeSuppressFrom

        public Suppression.Builder timeSuppressFrom​(Date timeSuppressFrom)
        The start date and time for the suppression to take place, inclusive.

        Format defined by RFC3339.

        Example: 2023-02-01T01:02:29.600Z

        Parameters:
        timeSuppressFrom - the value to set
        Returns:
        this builder
      • timeSuppressUntil

        public Suppression.Builder timeSuppressUntil​(Date timeSuppressUntil)
        The end date and time for the suppression to take place, inclusive.

        Format defined by RFC3339.

        Example: 2023-02-01T02:02:29.600Z

        Parameters:
        timeSuppressUntil - the value to set
        Returns:
        this builder