Interface TrialComponentMetricSummary.Builder

    • Method Detail

      • metricName

        TrialComponentMetricSummary.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.
      • sourceArn

        TrialComponentMetricSummary.Builder sourceArn​(String sourceArn)

        The Amazon Resource Name (ARN) of the source.

        Parameters:
        sourceArn - The Amazon Resource Name (ARN) of the source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeStamp

        TrialComponentMetricSummary.Builder timeStamp​(Instant timeStamp)

        When the metric was last updated.

        Parameters:
        timeStamp - When the metric was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • max

        TrialComponentMetricSummary.Builder max​(Double max)

        The maximum value of the metric.

        Parameters:
        max - The maximum value of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • min

        TrialComponentMetricSummary.Builder min​(Double min)

        The minimum value of the metric.

        Parameters:
        min - The minimum value of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • last

        TrialComponentMetricSummary.Builder last​(Double last)

        The most recent value of the metric.

        Parameters:
        last - The most recent value of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        TrialComponentMetricSummary.Builder count​(Integer count)

        The number of samples used to generate the metric.

        Parameters:
        count - The number of samples used to generate the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • avg

        TrialComponentMetricSummary.Builder avg​(Double avg)

        The average value of the metric.

        Parameters:
        avg - The average value of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stdDev

        TrialComponentMetricSummary.Builder stdDev​(Double stdDev)

        The standard deviation of the metric.

        Parameters:
        stdDev - The standard deviation of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.