Interface CreateCustomMetricResponse.Builder

    • Method Detail

      • metricName

        CreateCustomMetricResponse.Builder metricName​(String metricName)

        The name of the custom metric to be used in the metric report.

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

        CreateCustomMetricResponse.Builder metricArn​(String metricArn)

        The Amazon Resource Number (ARN) of the custom metric. For example, arn:aws-partition:iot:region:accountId:custommetric/metricName

        Parameters:
        metricArn - The Amazon Resource Number (ARN) of the custom metric. For example, arn:aws-partition:iot:region:accountId:custommetric/metricName
        Returns:
        Returns a reference to this object so that method calls can be chained together.