public static class MonitoringTemplateSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoringTemplateSummary |
build() |
MonitoringTemplateSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the monitoringTemplate.
|
MonitoringTemplateSummary.Builder |
copy(MonitoringTemplateSummary model) |
MonitoringTemplateSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MonitoringTemplateSummary.Builder |
description(String description)
A user-friendly description for the monitoring template
|
MonitoringTemplateSummary.Builder |
destinations(List<String> destinations)
A list of destinations for alarm notifications.
|
MonitoringTemplateSummary.Builder |
displayName(String displayName)
A user-friendly name for the monitoring template.
|
MonitoringTemplateSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MonitoringTemplateSummary.Builder |
id(String id)
The OCID of the
monitoringTemplate
|
MonitoringTemplateSummary.Builder |
lifecycleState(MonitoringTemplateLifeCycleStates lifecycleState)
The current lifecycle state of the monitoring template
|
MonitoringTemplateSummary.Builder |
members(List<MemberReference> members)
List of members of this monitoring template
|
MonitoringTemplateSummary.Builder |
status(MonitoringTemplateLifeCycleDetails status)
The current status of the monitoring template i.e.
|
MonitoringTemplateSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MonitoringTemplateSummary.Builder |
tenantId(String tenantId)
Tenant Identifier
OCID
|
MonitoringTemplateSummary.Builder |
timeCreated(Date timeCreated)
The date and time the monitoringTemplate was created.
|
MonitoringTemplateSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the monitoringTemplate was last updated.
|
MonitoringTemplateSummary.Builder |
totalAlarmConditions(Float totalAlarmConditions)
Total Alarm Conditions
|
MonitoringTemplateSummary.Builder |
totalAppliedAlarmConditions(Float totalAppliedAlarmConditions)
Total Applied Alarm Conditions
|
public MonitoringTemplateSummary.Builder id(String id)
The OCID of the monitoringTemplate
id
- the value to setpublic MonitoringTemplateSummary.Builder displayName(String displayName)
A user-friendly name for the monitoring template.
displayName
- the value to setpublic MonitoringTemplateSummary.Builder tenantId(String tenantId)
Tenant Identifier OCID
tenantId
- the value to setpublic MonitoringTemplateSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the monitoringTemplate.
compartmentId
- the value to setpublic MonitoringTemplateSummary.Builder description(String description)
A user-friendly description for the monitoring template
description
- the value to setpublic MonitoringTemplateSummary.Builder status(MonitoringTemplateLifeCycleDetails status)
The current status of the monitoring template i.e. whether it is Applied or Not Applied
status
- the value to setpublic MonitoringTemplateSummary.Builder lifecycleState(MonitoringTemplateLifeCycleStates lifecycleState)
The current lifecycle state of the monitoring template
lifecycleState
- the value to setpublic MonitoringTemplateSummary.Builder destinations(List<String> destinations)
A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource
destinations
- the value to setpublic MonitoringTemplateSummary.Builder members(List<MemberReference> members)
List of members of this monitoring template
members
- the value to setpublic MonitoringTemplateSummary.Builder totalAlarmConditions(Float totalAlarmConditions)
Total Alarm Conditions
totalAlarmConditions
- the value to setpublic MonitoringTemplateSummary.Builder totalAppliedAlarmConditions(Float totalAppliedAlarmConditions)
Total Applied Alarm Conditions
totalAppliedAlarmConditions
- the value to setpublic MonitoringTemplateSummary.Builder timeCreated(Date timeCreated)
The date and time the monitoringTemplate was created. Format defined by RFC3339.
timeCreated
- the value to setpublic MonitoringTemplateSummary.Builder timeUpdated(Date timeUpdated)
The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic MonitoringTemplateSummary.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 MonitoringTemplateSummary.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 MonitoringTemplateSummary.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 MonitoringTemplateSummary build()
public MonitoringTemplateSummary.Builder copy(MonitoringTemplateSummary model)
Copyright © 2016–2025. All rights reserved.