Interface ECSServiceProjectedMetric.Builder

    • Method Detail

      • name

        ECSServiceProjectedMetric.Builder name​(String name)

        The name of the projected metric.

        The following metrics are available:

        • Cpu — The percentage of allocated compute units that are currently in use on the service tasks.

        • Memory — The percentage of memory that's currently in use on the service tasks.

        Parameters:
        name - The name of the projected metric.

        The following metrics are available:

        • Cpu — The percentage of allocated compute units that are currently in use on the service tasks.

        • Memory — The percentage of memory that's currently in use on the service tasks.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ECSServiceMetricName, ECSServiceMetricName
      • name

        ECSServiceProjectedMetric.Builder name​(ECSServiceMetricName name)

        The name of the projected metric.

        The following metrics are available:

        • Cpu — The percentage of allocated compute units that are currently in use on the service tasks.

        • Memory — The percentage of memory that's currently in use on the service tasks.

        Parameters:
        name - The name of the projected metric.

        The following metrics are available:

        • Cpu — The percentage of allocated compute units that are currently in use on the service tasks.

        • Memory — The percentage of memory that's currently in use on the service tasks.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ECSServiceMetricName, ECSServiceMetricName
      • timestamps

        ECSServiceProjectedMetric.Builder timestamps​(Collection<Instant> timestamps)

        The timestamps of the projected metric.

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

        ECSServiceProjectedMetric.Builder timestamps​(Instant... timestamps)

        The timestamps of the projected metric.

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

        ECSServiceProjectedMetric.Builder upperBoundValues​(Collection<Double> upperBoundValues)

        The upper bound values for the projected metric.

        Parameters:
        upperBoundValues - The upper bound values for the projected metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • upperBoundValues

        ECSServiceProjectedMetric.Builder upperBoundValues​(Double... upperBoundValues)

        The upper bound values for the projected metric.

        Parameters:
        upperBoundValues - The upper bound values for the projected metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lowerBoundValues

        ECSServiceProjectedMetric.Builder lowerBoundValues​(Collection<Double> lowerBoundValues)

        The lower bound values for the projected metric.

        Parameters:
        lowerBoundValues - The lower bound values for the projected metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lowerBoundValues

        ECSServiceProjectedMetric.Builder lowerBoundValues​(Double... lowerBoundValues)

        The lower bound values for the projected metric.

        Parameters:
        lowerBoundValues - The lower bound values for the projected metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.