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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ECSServiceProjectedMetric.BuilderlowerBoundValues(Double... lowerBoundValues)The lower bound values for the projected metric.ECSServiceProjectedMetric.BuilderlowerBoundValues(Collection<Double> lowerBoundValues)The lower bound values for the projected metric.ECSServiceProjectedMetric.Buildername(String name)The name of the projected metric.ECSServiceProjectedMetric.Buildername(ECSServiceMetricName name)The name of the projected metric.ECSServiceProjectedMetric.Buildertimestamps(Instant... timestamps)The timestamps of the projected metric.ECSServiceProjectedMetric.Buildertimestamps(Collection<Instant> timestamps)The timestamps of the projected metric.ECSServiceProjectedMetric.BuilderupperBoundValues(Double... upperBoundValues)The upper bound values for the projected metric.ECSServiceProjectedMetric.BuilderupperBoundValues(Collection<Double> upperBoundValues)The upper bound values for the projected metric.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-