Interface ProjectedMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProjectedMetric.Builder,ProjectedMetric>,SdkBuilder<ProjectedMetric.Builder,ProjectedMetric>,SdkPojo
- Enclosing class:
- ProjectedMetric
public static interface ProjectedMetric.Builder extends SdkPojo, CopyableBuilder<ProjectedMetric.Builder,ProjectedMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProjectedMetric.Buildername(String name)The name of the projected utilization metric.ProjectedMetric.Buildername(MetricName name)The name of the projected utilization metric.ProjectedMetric.Buildertimestamps(Instant... timestamps)The timestamps of the projected utilization metric.ProjectedMetric.Buildertimestamps(Collection<Instant> timestamps)The timestamps of the projected utilization metric.ProjectedMetric.Buildervalues(Double... values)The values of the projected utilization metrics.ProjectedMetric.Buildervalues(Collection<Double> values)The values of the projected utilization metrics.-
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
ProjectedMetric.Builder name(String name)
The name of the projected utilization metric.
The following projected utilization metrics are returned:
-
Cpu- The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
-
Memory- The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option.Units: Percent
The
Memorymetric is only returned for resources with the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. -
GPU- The projected percentage of allocated GPUs if you adjust your configurations to Compute Optimizer's recommendation option. -
GPU_MEMORY- The projected percentage of total GPU memory if you adjust your configurations to Compute Optimizer's recommendation option.The
GPUandGPU_MEMORYmetrics are only returned for resources with the unified CloudWatch Agent installed on them. For more information, see Enabling NVIDIA GPU utilization with the CloudWatch Agent.
- Parameters:
name- The name of the projected utilization metric.The following projected utilization metrics are returned:
-
Cpu- The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
-
Memory- The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option.Units: Percent
The
Memorymetric is only returned for resources with the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. -
GPU- The projected percentage of allocated GPUs if you adjust your configurations to Compute Optimizer's recommendation option. -
GPU_MEMORY- The projected percentage of total GPU memory if you adjust your configurations to Compute Optimizer's recommendation option.The
GPUandGPU_MEMORYmetrics are only returned for resources with the unified CloudWatch Agent installed on them. For more information, see Enabling NVIDIA GPU utilization with the CloudWatch Agent.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricName,MetricName
-
-
name
ProjectedMetric.Builder name(MetricName name)
The name of the projected utilization metric.
The following projected utilization metrics are returned:
-
Cpu- The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
-
Memory- The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option.Units: Percent
The
Memorymetric is only returned for resources with the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. -
GPU- The projected percentage of allocated GPUs if you adjust your configurations to Compute Optimizer's recommendation option. -
GPU_MEMORY- The projected percentage of total GPU memory if you adjust your configurations to Compute Optimizer's recommendation option.The
GPUandGPU_MEMORYmetrics are only returned for resources with the unified CloudWatch Agent installed on them. For more information, see Enabling NVIDIA GPU utilization with the CloudWatch Agent.
- Parameters:
name- The name of the projected utilization metric.The following projected utilization metrics are returned:
-
Cpu- The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
-
Memory- The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option.Units: Percent
The
Memorymetric is only returned for resources with the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. -
GPU- The projected percentage of allocated GPUs if you adjust your configurations to Compute Optimizer's recommendation option. -
GPU_MEMORY- The projected percentage of total GPU memory if you adjust your configurations to Compute Optimizer's recommendation option.The
GPUandGPU_MEMORYmetrics are only returned for resources with the unified CloudWatch Agent installed on them. For more information, see Enabling NVIDIA GPU utilization with the CloudWatch Agent.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricName,MetricName
-
-
timestamps
ProjectedMetric.Builder timestamps(Collection<Instant> timestamps)
The timestamps of the projected utilization metric.
- Parameters:
timestamps- The timestamps of the projected utilization metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
ProjectedMetric.Builder timestamps(Instant... timestamps)
The timestamps of the projected utilization metric.
- Parameters:
timestamps- The timestamps of the projected utilization metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
ProjectedMetric.Builder values(Collection<Double> values)
The values of the projected utilization metrics.
- Parameters:
values- The values of the projected utilization metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
ProjectedMetric.Builder values(Double... values)
The values of the projected utilization metrics.
- Parameters:
values- The values of the projected utilization metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-