public static class AlarmConditionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmConditionSummary |
build() |
AlarmConditionSummary.Builder |
compositeType(String compositeType)
The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
AlarmConditionSummary.Builder |
conditions(List<Condition> conditions)
Alarm conditions
|
AlarmConditionSummary.Builder |
conditionType(ConditionType conditionType)
Type of alarm condition type.
|
AlarmConditionSummary.Builder |
copy(AlarmConditionSummary model) |
AlarmConditionSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AlarmConditionSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AlarmConditionSummary.Builder |
id(String id)
The OCID of the
Alarm Condition
|
AlarmConditionSummary.Builder |
lifecycleState(AlarmConditionLifeCycleStates lifecycleState)
The current lifecycle state of the alarm condition.
|
AlarmConditionSummary.Builder |
metricName(String metricName)
The metric name.
|
AlarmConditionSummary.Builder |
monitoringTemplateId(String monitoringTemplateId)
The OCID of the
monitoring template.
|
AlarmConditionSummary.Builder |
namespace(String namespace)
The stack monitoring service or application emitting the metric that is evaluated by the
alarm.
|
AlarmConditionSummary.Builder |
resourceType(String resourceType)
The resource group OCID.
|
AlarmConditionSummary.Builder |
status(AlarmConditionLifeCycleDetails status)
The current status of the alarm condition i.e.
|
AlarmConditionSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
AlarmConditionSummary.Builder |
timeCreated(Date timeCreated)
The date and time the monitoringTemplate was created.
|
AlarmConditionSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the monitoringTemplate was updated.
|
public AlarmConditionSummary.Builder id(String id)
The OCID of the Alarm Condition
id
- the value to setpublic AlarmConditionSummary.Builder monitoringTemplateId(String monitoringTemplateId)
The OCID of the monitoring template.
monitoringTemplateId
- the value to setpublic AlarmConditionSummary.Builder compositeType(String compositeType)
The OCID of the composite resource type like EBS/PEOPLE_SOFT.
compositeType
- the value to setpublic AlarmConditionSummary.Builder namespace(String namespace)
The stack monitoring service or application emitting the metric that is evaluated by the alarm.
namespace
- the value to setpublic AlarmConditionSummary.Builder resourceType(String resourceType)
The resource group OCID.
resourceType
- the value to setpublic AlarmConditionSummary.Builder metricName(String metricName)
The metric name.
metricName
- the value to setpublic AlarmConditionSummary.Builder conditionType(ConditionType conditionType)
Type of alarm condition type.
conditionType
- the value to setpublic AlarmConditionSummary.Builder conditions(List<Condition> conditions)
Alarm conditions
conditions
- the value to setpublic AlarmConditionSummary.Builder status(AlarmConditionLifeCycleDetails status)
The current status of the alarm condition i.e. whether it is Applied or Not Applied
status
- the value to setpublic AlarmConditionSummary.Builder lifecycleState(AlarmConditionLifeCycleStates lifecycleState)
The current lifecycle state of the alarm condition.
lifecycleState
- the value to setpublic AlarmConditionSummary.Builder timeCreated(Date timeCreated)
The date and time the monitoringTemplate was created. Format defined by RFC3339.
timeCreated
- the value to setpublic AlarmConditionSummary.Builder timeUpdated(Date timeUpdated)
The date and time the monitoringTemplate was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic AlarmConditionSummary.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 AlarmConditionSummary.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 AlarmConditionSummary.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 AlarmConditionSummary build()
public AlarmConditionSummary.Builder copy(AlarmConditionSummary model)
Copyright © 2016–2025. All rights reserved.