Interface CustomizedLoadMetricSpecification.Builder

    • Method Detail

      • metricName

        CustomizedLoadMetricSpecification.Builder metricName​(String metricName)

        The name of the metric.

        Parameters:
        metricName - The name of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • namespace

        CustomizedLoadMetricSpecification.Builder namespace​(String namespace)

        The namespace of the metric.

        Parameters:
        namespace - The namespace of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensions

        CustomizedLoadMetricSpecification.Builder dimensions​(Collection<MetricDimension> dimensions)

        The dimensions of the metric.

        Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.

        Parameters:
        dimensions - The dimensions of the metric.

        Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensions

        CustomizedLoadMetricSpecification.Builder dimensions​(MetricDimension... dimensions)

        The dimensions of the metric.

        Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.

        Parameters:
        dimensions - The dimensions of the metric.

        Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.

        Returns:
        Returns a reference to this object so that method calls can be chained together.