@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class DefinedMonitoringTemplateSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information about defined Monitoring Template for specified resourceType.
Note: Objects should always be created or deserialized using the DefinedMonitoringTemplateSummary.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 DefinedMonitoringTemplateSummary.Builder
, which maintain a
set of all explicitly set fields called DefinedMonitoringTemplateSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DefinedMonitoringTemplateSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DefinedMonitoringTemplateSummary(String id,
String displayName,
String namespace,
String compositeType,
String resourceType,
List<DefinedAlarmCondition> definedAlarmConditions,
Date timeCreated,
Date timeUpdated,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DefinedMonitoringTemplateSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompositeType()
Type of composite resource type OCID like EBS/PEOPLE_SOFT.
|
List<DefinedAlarmCondition> |
getDefinedAlarmConditions()
Defined Monitoring template alarm conditions
|
String |
getDisplayName()
The name of the definedMonitoringTemplate.
|
String |
getId()
The OCID of the
definedMonitoringTemplate.
|
String |
getNamespace()
The stack monitoring service or application emitting the metric that is evaluated by the
alarm.
|
String |
getResourceType()
The resource types OCID.
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
Date |
getTimeCreated()
The date and time the monitoringTemplate was created.
|
Date |
getTimeUpdated()
The date and time the monitoringTemplate was updated.
|
int |
hashCode() |
DefinedMonitoringTemplateSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","namespace","compositeType","resourceType","definedAlarmConditions","timeCreated","timeUpdated","systemTags"}) public DefinedMonitoringTemplateSummary(String id, String displayName, String namespace, String compositeType, String resourceType, List<DefinedAlarmCondition> definedAlarmConditions, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> systemTags)
public static DefinedMonitoringTemplateSummary.Builder builder()
Create a new builder.
public DefinedMonitoringTemplateSummary.Builder toBuilder()
public String getDisplayName()
The name of the definedMonitoringTemplate.
public String getNamespace()
The stack monitoring service or application emitting the metric that is evaluated by the alarm.
public String getCompositeType()
Type of composite resource type OCID like EBS/PEOPLE_SOFT.
public String getResourceType()
The resource types OCID.
public List<DefinedAlarmCondition> getDefinedAlarmConditions()
Defined Monitoring template alarm conditions
public Date getTimeCreated()
The date and time the monitoringTemplate was created. Format defined by RFC3339.
public Date getTimeUpdated()
The date and time the monitoringTemplate was updated. Format defined by RFC3339.
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2025. All rights reserved.