public static class MetricExtraction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetricExtraction |
build() |
MetricExtraction.Builder |
compartmentId(String compartmentId)
The compartment OCID (/iaas/Content/General/Concepts/identifiers.htm) of the extracted
metric.
|
MetricExtraction.Builder |
copy(MetricExtraction model) |
MetricExtraction.Builder |
metricName(String metricName)
The metric name of the extracted metric.
|
MetricExtraction.Builder |
namespace(String namespace)
The namespace of the extracted metric.
|
MetricExtraction.Builder |
resourceGroup(String resourceGroup)
The resourceGroup of the extracted metric.
|
public MetricExtraction.Builder compartmentId(String compartmentId)
The compartment OCID (/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
compartmentId
- the value to setpublic MetricExtraction.Builder namespace(String namespace)
The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).
namespace
- the value to setpublic MetricExtraction.Builder metricName(String metricName)
The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
metricName
- the value to setpublic MetricExtraction.Builder resourceGroup(String resourceGroup)
The resourceGroup of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
resourceGroup
- the value to setpublic MetricExtraction build()
public MetricExtraction.Builder copy(MetricExtraction model)
Copyright © 2016–2024. All rights reserved.