Package com.oracle.bmc.monitoring.model
Class PostMetricDataResponseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.monitoring.model.PostMetricDataResponseDetails.Builder
-
- Enclosing class:
- PostMetricDataResponseDetails
public static class PostMetricDataResponseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostMetricDataResponseDetails
build()
PostMetricDataResponseDetails.Builder
copy(PostMetricDataResponseDetails model)
PostMetricDataResponseDetails.Builder
failedMetrics(List<FailedMetricRecord> failedMetrics)
A list of records identifying metric objects that failed input validation and the reasons for the failures.PostMetricDataResponseDetails.Builder
failedMetricsCount(Integer failedMetricsCount)
The number of metric objects that failed input validation.
-
-
-
Method Detail
-
failedMetricsCount
public PostMetricDataResponseDetails.Builder failedMetricsCount(Integer failedMetricsCount)
The number of metric objects that failed input validation.- Parameters:
failedMetricsCount
- the value to set- Returns:
- this builder
-
failedMetrics
public PostMetricDataResponseDetails.Builder failedMetrics(List<FailedMetricRecord> failedMetrics)
A list of records identifying metric objects that failed input validation and the reasons for the failures.- Parameters:
failedMetrics
- the value to set- Returns:
- this builder
-
build
public PostMetricDataResponseDetails build()
-
copy
public PostMetricDataResponseDetails.Builder copy(PostMetricDataResponseDetails model)
-
-