Interface SystemStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SystemStatus.Builder,
,SystemStatus> SdkBuilder<SystemStatus.Builder,
,SystemStatus> SdkPojo
- Enclosing class:
SystemStatus
@Mutable
@NotThreadSafe
public static interface SystemStatus.Builder
extends SdkPojo, CopyableBuilder<SystemStatus.Builder,SystemStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SystemStatus.Builder
cpuUtilization
(Consumer<CPUUtilization.Builder> cpuUtilization) CPU utilization metrics for the instance.cpuUtilization
(CPUUtilization cpuUtilization) CPU utilization metrics for the instance.loadAverage
(Double... loadAverage) Load average in the last 1-minute, 5-minute, and 15-minute periods.loadAverage
(Collection<Double> loadAverage) Load average in the last 1-minute, 5-minute, and 15-minute periods.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, sdkFieldNameToField, sdkFields
-
Method Details
-
cpuUtilization
CPU utilization metrics for the instance.
- Parameters:
cpuUtilization
- CPU utilization metrics for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuUtilization
CPU utilization metrics for the instance.
This is a convenience method that creates an instance of theCPUUtilization.Builder
avoiding the need to create one manually viaCPUUtilization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocpuUtilization(CPUUtilization)
.- Parameters:
cpuUtilization
- a consumer that will call methods onCPUUtilization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loadAverage
Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.
- Parameters:
loadAverage
- Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadAverage
Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.
- Parameters:
loadAverage
- Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-