public static class MonitoringTargetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoringTargetDetails |
build() |
MonitoringTargetDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the metric.
|
MonitoringTargetDetails.Builder |
copy(MonitoringTargetDetails model) |
MonitoringTargetDetails.Builder |
dimensions(List<DimensionDetails> dimensions)
List of dimension names and values.
|
MonitoringTargetDetails.Builder |
metric(String metric)
The name of the metric.
|
MonitoringTargetDetails.Builder |
metricNamespace(String metricNamespace)
The namespace of the metric.
|
public MonitoringTargetDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the metric.
compartmentId
- the value to setpublic MonitoringTargetDetails.Builder metricNamespace(String metricNamespace)
The namespace of the metric.
Example: oci_computeagent
metricNamespace
- the value to setpublic MonitoringTargetDetails.Builder metric(String metric)
The name of the metric.
Example: CpuUtilization
metric
- the value to setpublic MonitoringTargetDetails.Builder dimensions(List<DimensionDetails> dimensions)
List of dimension names and values.
dimensions
- the value to setpublic MonitoringTargetDetails build()
public MonitoringTargetDetails.Builder copy(MonitoringTargetDetails model)
Copyright © 2016–2024. All rights reserved.