Interface PutMetricDataRequest.Builder

    • Method Detail

      • namespace

        PutMetricDataRequest.Builder namespace​(String namespace)

        The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.

        To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/

        Parameters:
        namespace - The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.

        To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/

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

        PutMetricDataRequest.Builder metricData​(Collection<MetricDatum> metricData)

        The data for the metric. The array can include no more than 1000 metrics per call.

        Parameters:
        metricData - The data for the metric. The array can include no more than 1000 metrics per call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricData

        PutMetricDataRequest.Builder metricData​(MetricDatum... metricData)

        The data for the metric. The array can include no more than 1000 metrics per call.

        Parameters:
        metricData - The data for the metric. The array can include no more than 1000 metrics per call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.