Interface BatchPutMetricsError.Builder

  • 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

      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.