Interface ECSServiceProjectedMetric.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ECSServiceProjectedMetric.Builder,ECSServiceProjectedMetric>, SdkBuilder<ECSServiceProjectedMetric.Builder,ECSServiceProjectedMetric>, SdkPojo
Enclosing class:
ECSServiceProjectedMetric

public static interface ECSServiceProjectedMetric.Builder extends SdkPojo, CopyableBuilder<ECSServiceProjectedMetric.Builder,ECSServiceProjectedMetric>
  • Method Details

    • 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:
    • 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:
    • 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.