public static class RequestSummarizedMetricDataDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RequestSummarizedMetricDataDetails |
build() |
RequestSummarizedMetricDataDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment to use for authorization to read metrics.
|
RequestSummarizedMetricDataDetails.Builder |
copy(RequestSummarizedMetricDataDetails model) |
RequestSummarizedMetricDataDetails.Builder |
dimensions(Map<String,DimensionValue> dimensions)
Qualifiers to use when searching for metric data.
|
RequestSummarizedMetricDataDetails.Builder |
endTime(Date endTime)
The end of the sampled time range to use when searching for metric data points.
|
RequestSummarizedMetricDataDetails.Builder |
metricName(String metricName)
The name of a metric for retrieving aggregated data.
|
RequestSummarizedMetricDataDetails.Builder |
namespaceName(String namespaceName)
The source service or application to use when searching for metric data points to
aggregate.
|
RequestSummarizedMetricDataDetails.Builder |
startTime(Date startTime)
The beginning of the sampled time range to use when searching for metric data points.
|
public RequestSummarizedMetricDataDetails.Builder namespaceName(String namespaceName)
The source service or application to use when searching for metric data points to
aggregate. For a list of valid namespaces, see listNamespaces
.
namespaceName
- the value to setpublic RequestSummarizedMetricDataDetails.Builder metricName(String metricName)
The name of a metric for retrieving aggregated data. For a list of valid metrics for a
given namespace, see listMetricProperties
.
metricName
- the value to setpublic RequestSummarizedMetricDataDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to use for authorization to read metrics. To use the root compartment, provide the tenancyId.
compartmentId
- the value to setpublic RequestSummarizedMetricDataDetails.Builder dimensions(Map<String,DimensionValue> dimensions)
Qualifiers to use when searching for metric data. For a list of valid dimensions for a
given metric, see listMetricProperties
.
dimensions
- the value to setpublic RequestSummarizedMetricDataDetails.Builder startTime(Date startTime)
The beginning of the sampled time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the sampled time. Example 2019-02-01T02:02:29.600Z
startTime
- the value to setpublic RequestSummarizedMetricDataDetails.Builder endTime(Date endTime)
The end of the sampled time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for sampled time. Example 2019-02-01T02:02:29.600Z
endTime
- the value to setpublic RequestSummarizedMetricDataDetails build()
public RequestSummarizedMetricDataDetails.Builder copy(RequestSummarizedMetricDataDetails model)
Copyright © 2016–2024. All rights reserved.