Class AlarmCondition.Builder
- java.lang.Object
- 
- com.oracle.bmc.stackmonitoring.model.AlarmCondition.Builder
 
- 
- Enclosing class:
- AlarmCondition
 
 public static class AlarmCondition.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmConditionbuild()AlarmCondition.BuildercompositeType(String compositeType)The OCID of the composite resource type like EBS/PEOPLE_SOFT.AlarmCondition.Builderconditions(List<Condition> conditions)Monitoring template conditionsAlarmCondition.BuilderconditionType(ConditionType conditionType)Type of defined monitoring template.AlarmCondition.Buildercopy(AlarmCondition model)AlarmCondition.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AlarmCondition.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.AlarmCondition.Builderid(String id)The OCID of the Alarm Condition.AlarmCondition.BuilderlifecycleState(AlarmConditionLifeCycleStates lifecycleState)The current lifecycle state of the monitoring templateAlarmCondition.BuildermetricName(String metricName)The metric name.AlarmCondition.BuildermonitoringTemplateId(String monitoringTemplateId)The OCID of the monitoring template.AlarmCondition.Buildernamespace(String namespace)The stack monitoring service or application emitting the metric that is evaluated by the alarm.AlarmCondition.BuilderresourceType(String resourceType)The resource type OCID.AlarmCondition.Builderstatus(AlarmConditionLifeCycleDetails status)The current status of the monitoring template i.e.AlarmCondition.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.AlarmCondition.BuildertimeCreated(Date timeCreated)The date and time the alarm condition was created.AlarmCondition.BuildertimeUpdated(Date timeUpdated)The date and time the alarm condition was updated.
 
- 
- 
- 
Method Detail- 
idpublic AlarmCondition.Builder id(String id) The OCID of the Alarm Condition.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
monitoringTemplateIdpublic AlarmCondition.Builder monitoringTemplateId(String monitoringTemplateId) The OCID of the monitoring template.- Parameters:
- monitoringTemplateId- the value to set
- Returns:
- this builder
 
 - 
namespacepublic AlarmCondition.Builder namespace(String namespace) The stack monitoring service or application emitting the metric that is evaluated by the alarm.- Parameters:
- namespace- the value to set
- Returns:
- this builder
 
 - 
compositeTypepublic AlarmCondition.Builder compositeType(String compositeType) The OCID of the composite resource type like EBS/PEOPLE_SOFT.- Parameters:
- compositeType- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic AlarmCondition.Builder resourceType(String resourceType) The resource type OCID.- Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
metricNamepublic AlarmCondition.Builder metricName(String metricName) The metric name.- Parameters:
- metricName- the value to set
- Returns:
- this builder
 
 - 
conditionTypepublic AlarmCondition.Builder conditionType(ConditionType conditionType) Type of defined monitoring template.- Parameters:
- conditionType- the value to set
- Returns:
- this builder
 
 - 
conditionspublic AlarmCondition.Builder conditions(List<Condition> conditions) Monitoring template conditions- Parameters:
- conditions- the value to set
- Returns:
- this builder
 
 - 
statuspublic AlarmCondition.Builder status(AlarmConditionLifeCycleDetails status) The current status of the monitoring template i.e.whether it is Published or Unpublished - Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AlarmCondition.Builder lifecycleState(AlarmConditionLifeCycleStates lifecycleState) The current lifecycle state of the monitoring template- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AlarmCondition.Builder timeCreated(Date timeCreated) The date and time the alarm condition was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AlarmCondition.Builder timeUpdated(Date timeUpdated) The date and time the alarm condition was updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AlarmCondition build() 
 - 
copypublic AlarmCondition.Builder copy(AlarmCondition model) 
 
- 
 
-