@Generated(value="software.amazon.awssdk:codegen") public final class BatchPutMetricsError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchPutMetricsError.Builder,BatchPutMetricsError>
An error that occured when putting the metric data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchPutMetricsError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchPutMetricsError.Builder |
builder() |
PutMetricsErrorCode |
code()
The error code of an error that occured when attempting to put metrics.
|
String |
codeAsString()
The error code of an error that occured when attempting to put metrics.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
metricIndex()
An index that corresponds to the metric in the request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchPutMetricsError.Builder> |
serializableBuilderClass() |
BatchPutMetricsError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PutMetricsErrorCode code()
The error code of an error that occured when attempting to put metrics.
METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.
INTERNAL_ERROR: An internal error occured.
VALIDATION_ERROR: The metric data failed validation.
CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.
If the service returns an enum value that is not available in the current SDK version, code will return
PutMetricsErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.
INTERNAL_ERROR: An internal error occured.
VALIDATION_ERROR: The metric data failed validation.
CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.
PutMetricsErrorCodepublic final String codeAsString()
The error code of an error that occured when attempting to put metrics.
METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.
INTERNAL_ERROR: An internal error occured.
VALIDATION_ERROR: The metric data failed validation.
CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.
If the service returns an enum value that is not available in the current SDK version, code will return
PutMetricsErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.
INTERNAL_ERROR: An internal error occured.
VALIDATION_ERROR: The metric data failed validation.
CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.
PutMetricsErrorCodepublic final Integer metricIndex()
An index that corresponds to the metric in the request.
public BatchPutMetricsError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchPutMetricsError.Builder,BatchPutMetricsError>public static BatchPutMetricsError.Builder builder()
public static Class<? extends BatchPutMetricsError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.