@Generated(value="OracleSDKGenerator", comments="API Version: 20180401") public final class AlarmStatusSummary extends Object
A summary of properties for the specified alarm and its current evaluation status. For information about alarms, see Alarms Overview.
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
For information about endpoints and signing API requests, see About the API. For information about available SDKs and tools, see SDKS and Other Tools.
Note: Objects should always be created or deserialized using the AlarmStatusSummary.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the AlarmStatusSummary.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AlarmStatusSummary.Builder |
static class |
AlarmStatusSummary.Severity
The configured severity of the alarm.
|
static class |
AlarmStatusSummary.Status
The status of this alarm.
|
Constructor and Description |
---|
AlarmStatusSummary(String id,
String displayName,
AlarmStatusSummary.Severity severity,
Date timestampTriggered,
AlarmStatusSummary.Status status,
Suppression suppression)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AlarmStatusSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getDisplayName()
The configured name of the alarm.
|
String |
getId()
The OCID of the alarm.
|
AlarmStatusSummary.Severity |
getSeverity()
The configured severity of the alarm.
|
AlarmStatusSummary.Status |
getStatus()
The status of this alarm.
|
Suppression |
getSuppression()
The configuration details for suppressing an alarm.
|
Date |
getTimestampTriggered()
Timestamp for the transition of the alarm state.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","displayName","severity","timestampTriggered","status","suppression"}) @Deprecated public AlarmStatusSummary(String id, String displayName, AlarmStatusSummary.Severity severity, Date timestampTriggered, AlarmStatusSummary.Status status, Suppression suppression)
public static AlarmStatusSummary.Builder builder()
Create a new builder.
public String getDisplayName()
The configured name of the alarm.
Example: High CPU Utilization
public AlarmStatusSummary.Severity getSeverity()
The configured severity of the alarm.
Example: CRITICAL
public Date getTimestampTriggered()
Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing.
Example: 2019-02-01T01:02:29.600Z
public AlarmStatusSummary.Status getStatus()
The status of this alarm.
Example: FIRING
public Suppression getSuppression()
The configuration details for suppressing an alarm.
Copyright © 2016–2020. All rights reserved.