Interface MetricConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricConfiguration.Builder,,MetricConfiguration> SdkBuilder<MetricConfiguration.Builder,,MetricConfiguration> SdkPojo
- Enclosing class:
MetricConfiguration
@Mutable
@NotThreadSafe
public static interface MetricConfiguration.Builder
extends SdkPojo, CopyableBuilder<MetricConfiguration.Builder,MetricConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmetricNames(String... metricNames) The list of metric names to configure.metricNames(Collection<String> metricNames) The list of metric names to configure.resolutionSeconds(Integer resolutionSeconds) The resolution, in seconds, at which to collect the metrics.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
metricNames
The list of metric names to configure. The supported metric names are
CPUUtilizationandMemoryUtilization.- Parameters:
metricNames- The list of metric names to configure. The supported metric names areCPUUtilizationandMemoryUtilization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricNames
The list of metric names to configure. The supported metric names are
CPUUtilizationandMemoryUtilization.- Parameters:
metricNames- The list of metric names to configure. The supported metric names areCPUUtilizationandMemoryUtilization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolutionSeconds
The resolution, in seconds, at which to collect the metrics. The valid values are
20and60.- Parameters:
resolutionSeconds- The resolution, in seconds, at which to collect the metrics. The valid values are20and60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-