public static class AlarmCondition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmCondition |
build() |
AlarmCondition.Builder |
compositeType(String compositeType)
The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
AlarmCondition.Builder |
conditions(List<Condition> conditions)
Monitoring template conditions
|
AlarmCondition.Builder |
conditionType(ConditionType conditionType)
Type of defined monitoring template.
|
AlarmCondition.Builder |
copy(AlarmCondition model) |
AlarmCondition.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AlarmCondition.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AlarmCondition.Builder |
id(String id)
The OCID of the
Alarm Condition.
|
AlarmCondition.Builder |
lifecycleState(AlarmConditionLifeCycleStates lifecycleState)
The current lifecycle state of the monitoring template
|
AlarmCondition.Builder |
metricName(String metricName)
The metric name.
|
AlarmCondition.Builder |
monitoringTemplateId(String monitoringTemplateId)
The OCID of the
monitoring template.
|
AlarmCondition.Builder |
namespace(String namespace)
The stack monitoring service or application emitting the metric that is evaluated by the
alarm.
|
AlarmCondition.Builder |
resourceType(String resourceType)
The resource type OCID.
|
AlarmCondition.Builder |
status(AlarmConditionLifeCycleDetails status)
The current status of the monitoring template i.e.
|
AlarmCondition.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
AlarmCondition.Builder |
timeCreated(Date timeCreated)
The date and time the alarm condition was created.
|
AlarmCondition.Builder |
timeUpdated(Date timeUpdated)
The date and time the alarm condition was updated.
|
public AlarmCondition.Builder id(String id)
The OCID of the Alarm Condition.
id
- the value to setpublic AlarmCondition.Builder monitoringTemplateId(String monitoringTemplateId)
The OCID of the monitoring template.
monitoringTemplateId
- the value to setpublic AlarmCondition.Builder namespace(String namespace)
The stack monitoring service or application emitting the metric that is evaluated by the alarm.
namespace
- the value to setpublic AlarmCondition.Builder compositeType(String compositeType)
The OCID of the composite resource type like EBS/PEOPLE_SOFT.
compositeType
- the value to setpublic AlarmCondition.Builder resourceType(String resourceType)
The resource type OCID.
resourceType
- the value to setpublic AlarmCondition.Builder metricName(String metricName)
The metric name.
metricName
- the value to setpublic AlarmCondition.Builder conditionType(ConditionType conditionType)
Type of defined monitoring template.
conditionType
- the value to setpublic AlarmCondition.Builder conditions(List<Condition> conditions)
Monitoring template conditions
conditions
- the value to setpublic AlarmCondition.Builder status(AlarmConditionLifeCycleDetails status)
The current status of the monitoring template i.e. whether it is Published or Unpublished
status
- the value to setpublic AlarmCondition.Builder lifecycleState(AlarmConditionLifeCycleStates lifecycleState)
The current lifecycle state of the monitoring template
lifecycleState
- the value to setpublic AlarmCondition.Builder timeCreated(Date timeCreated)
The date and time the alarm condition was created. Format defined by RFC3339.
timeCreated
- the value to setpublic AlarmCondition.Builder timeUpdated(Date timeUpdated)
The date and time the alarm condition was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic AlarmCondition.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic AlarmCondition.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic AlarmCondition.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic AlarmCondition build()
public AlarmCondition.Builder copy(AlarmCondition model)
Copyright © 2016–2025. All rights reserved.