Package com.oracle.bmc.monitoring.model
Class Suppression.Builder
- java.lang.Object
-
- com.oracle.bmc.monitoring.model.Suppression.Builder
-
- Enclosing class:
- Suppression
public static class Suppression.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Suppression
build()
Suppression.Builder
copy(Suppression model)
Suppression.Builder
description(String description)
Human-readable reason for suppressing alarm notifications.Suppression.Builder
timeSuppressFrom(Date timeSuppressFrom)
The start date and time for the suppression to take place, inclusive.Suppression.Builder
timeSuppressUntil(Date timeSuppressUntil)
The end date and time for the suppression to take place, inclusive.
-
-
-
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
-
build
public Suppression build()
-
copy
public Suppression.Builder copy(Suppression model)
-
-