Class MetricExtraction.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.MetricExtraction.Builder
-
- Enclosing class:
- MetricExtraction
public static class MetricExtraction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
compartmentId
public MetricExtraction.Builder compartmentId(String compartmentId)
The compartment OCID (/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
namespace
public 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 (_).
- Parameters:
namespace
- the value to set- Returns:
- this builder
-
metricName
public 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 ($).
- Parameters:
metricName
- the value to set- Returns:
- this builder
-
resourceGroup
public 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 ($).
- Parameters:
resourceGroup
- the value to set- Returns:
- this builder
-
build
public MetricExtraction build()
-
copy
public MetricExtraction.Builder copy(MetricExtraction model)
-
-