Interface BatchPutMetricsError.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BatchPutMetricsError.Builder,,- BatchPutMetricsError> - SdkBuilder<BatchPutMetricsError.Builder,,- BatchPutMetricsError> - SdkPojo
- Enclosing class:
- BatchPutMetricsError
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
codeThe 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:
 
- 
 
- 
codeThe 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:
 
- 
 
- 
metricIndexAn 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.
 
 
-