@Generated(value="OracleSDKGenerator", comments="API Version: 20180401") public final class FailedMetricRecord extends Object
The record of a single metric object that failed input validation and the reason for the failure.
FailedMetricRecord.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the FailedMetricRecord.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
FailedMetricRecord.Builder |
| Constructor and Description |
|---|
FailedMetricRecord(String message,
MetricDataDetails metricData)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static FailedMetricRecord.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getMessage()
An error message indicating the reason that the indicated metric object failed input validation.
|
MetricDataDetails |
getMetricData()
Identifier of a metric object that failed input validation.
|
int |
hashCode() |
FailedMetricRecord.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"message","metricData"}) @Deprecated public FailedMetricRecord(String message, MetricDataDetails metricData)
public static FailedMetricRecord.Builder builder()
Create a new builder.
public FailedMetricRecord.Builder toBuilder()
public String getMessage()
An error message indicating the reason that the indicated metric object failed input validation.
public MetricDataDetails getMetricData()
Identifier of a metric object that failed input validation.
Copyright © 2016–2021. All rights reserved.