Interface BatchPutMetricsError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchPutMetricsError.Builder,
,BatchPutMetricsError> SdkBuilder<BatchPutMetricsError.Builder,
,BatchPutMetricsError> SdkPojo
- Enclosing class:
BatchPutMetricsError
-
Method Summary
Modifier and TypeMethodDescriptionThe error code of an error that occured when attempting to put metrics.code
(PutMetricsErrorCode code) The error code of an error that occured when attempting to put metrics.metricIndex
(Integer metricIndex) An index that corresponds to the metric in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
metricIndex
An index that corresponds to the metric in the request.
- Parameters:
metricIndex
- An index that corresponds to the metric in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-