Interface BatchPutMetricsError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutMetricsError.Builder,BatchPutMetricsError>,SdkBuilder<BatchPutMetricsError.Builder,BatchPutMetricsError>,SdkPojo
- Enclosing class:
- BatchPutMetricsError
public static interface BatchPutMetricsError.Builder extends SdkPojo, CopyableBuilder<BatchPutMetricsError.Builder,BatchPutMetricsError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchPutMetricsError.Buildercode(String code)The error code of an error that occured when attempting to put metrics.BatchPutMetricsError.Buildercode(PutMetricsErrorCode code)The error code of an error that occured when attempting to put metrics.BatchPutMetricsError.BuildermetricIndex(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, sdkFields
-
-
-
-
Method Detail
-
code
BatchPutMetricsError.Builder code(String 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:
PutMetricsErrorCode,PutMetricsErrorCode
-
-
code
BatchPutMetricsError.Builder code(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.
- 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:
PutMetricsErrorCode,PutMetricsErrorCode
-
-
metricIndex
BatchPutMetricsError.Builder metricIndex(Integer 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.
-
-