Interface SummaryMetricQuery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SummaryMetricQuery.Builder,
,SummaryMetricQuery> SdkBuilder<SummaryMetricQuery.Builder,
,SummaryMetricQuery> SdkPojo
- Enclosing class:
SummaryMetricQuery
public static interface SummaryMetricQuery.Builder
extends SdkPojo, CopyableBuilder<SummaryMetricQuery.Builder,SummaryMetricQuery>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod
(String aggregationPeriod) The aggregation period of the summary metric.aggregationPeriod
(AggregationPeriod aggregationPeriod) The aggregation period of the summary metric.dimensions
(Collection<Dimension> dimensions) The dimensions of the summary metric.dimensions
(Consumer<Dimension.Builder>... dimensions) The dimensions of the summary metric.dimensions
(Dimension... dimensions) The dimensions of the summary metric.endTimestamp
(Instant endTimestamp) The end timestamp for the summary metric query.metricName
(String metricName) The name of the metric.metricName
(MetricName metricName) The name of the metric.The id of the summary metric query.startTimestamp
(Instant startTimestamp) The start timestamp for the summary metric query.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 Details
-
queryId
The id of the summary metric query.
- Parameters:
queryId
- The id of the summary metric query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
The name of the metric.
- Parameters:
metricName
- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricName
The name of the metric.
- Parameters:
metricName
- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensions
The dimensions of the summary metric.
- Parameters:
dimensions
- The dimensions of the summary metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions of the summary metric.
- Parameters:
dimensions
- The dimensions of the summary metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions of the summary metric.
This is a convenience method that creates an instance of theDimension.Builder
avoiding the need to create one manually viaDimension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(List<Dimension>)
.- Parameters:
dimensions
- a consumer that will call methods onDimension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationPeriod
The aggregation period of the summary metric.
- Parameters:
aggregationPeriod
- The aggregation period of the summary metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationPeriod
The aggregation period of the summary metric.
- Parameters:
aggregationPeriod
- The aggregation period of the summary metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTimestamp
The start timestamp for the summary metric query.
- Parameters:
startTimestamp
- The start timestamp for the summary metric query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimestamp
The end timestamp for the summary metric query.
- Parameters:
endTimestamp
- The end timestamp for the summary metric query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-