Interface ResourceMetricSelection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceMetricSelection.Builder,,ResourceMetricSelection> SdkBuilder<ResourceMetricSelection.Builder,,ResourceMetricSelection> SdkPojo
- Enclosing class:
ResourceMetricSelection
@Mutable
@NotThreadSafe
public static interface ResourceMetricSelection.Builder
extends SdkPojo, CopyableBuilder<ResourceMetricSelection.Builder,ResourceMetricSelection>
-
Method Summary
Modifier and TypeMethodDescriptionincludeMetrics(String... includeMetrics) The names of the metrics to collect for the resource.includeMetrics(Collection<String> includeMetrics) The names of the metrics to collect for the resource.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
-
includeMetrics
The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.
- Parameters:
includeMetrics- The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeMetrics
The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.
- Parameters:
includeMetrics- The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-