Class DefinedMonitoringTemplateSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.stackmonitoring.model.DefinedMonitoringTemplateSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class DefinedMonitoringTemplateSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary information about defined Monitoring Template for specified resourceType.
Note: Objects should always be created or deserialized using theDefinedMonitoringTemplateSummary.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 theDefinedMonitoringTemplateSummary.Builder, which maintain a set of all explicitly set fields calledDefinedMonitoringTemplateSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefinedMonitoringTemplateSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefinedMonitoringTemplateSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompositeType()Type of composite resource type OCID like EBS/PEOPLE_SOFT.List<DefinedAlarmCondition>getDefinedAlarmConditions()Defined Monitoring template alarm conditionsStringgetDisplayName()The name of the definedMonitoringTemplate.StringgetId()The OCID of the definedMonitoringTemplate.StringgetNamespace()The stack monitoring service or application emitting the metric that is evaluated by the alarm.StringgetResourceType()The resource types OCID.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.DategetTimeCreated()The date and time the monitoringTemplate was created.DategetTimeUpdated()The date and time the monitoringTemplate was updated.inthashCode()DefinedMonitoringTemplateSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DefinedMonitoringTemplateSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static DefinedMonitoringTemplateSummary.Builder builder()
Create a new builder.
-
toBuilder
public DefinedMonitoringTemplateSummary.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The name of the definedMonitoringTemplate.- Returns:
- the value
-
getNamespace
public String getNamespace()
The stack monitoring service or application emitting the metric that is evaluated by the alarm.- Returns:
- the value
-
getCompositeType
public String getCompositeType()
Type of composite resource type OCID like EBS/PEOPLE_SOFT.- Returns:
- the value
-
getResourceType
public String getResourceType()
The resource types OCID.- Returns:
- the value
-
getDefinedAlarmConditions
public List<DefinedAlarmCondition> getDefinedAlarmConditions()
Defined Monitoring template alarm conditions- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the monitoringTemplate was created.Format defined by RFC3339.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the monitoringTemplate was updated.Format defined by RFC3339.
- Returns:
- the value
-
getSystemTags
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”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-