Interface SummaryMetricQueryResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SummaryMetricQueryResult.Builder,
,SummaryMetricQueryResult> SdkBuilder<SummaryMetricQueryResult.Builder,
,SummaryMetricQueryResult> SdkPojo
- Enclosing class:
SummaryMetricQueryResult
-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod
(String aggregationPeriod) The aggregation period of the metric.aggregationPeriod
(AggregationPeriod aggregationPeriod) The aggregation period of the metric.dimensions
(Collection<Dimension> dimensions) The dimensions of the metric.dimensions
(Consumer<Dimension.Builder>... dimensions) The dimensions of the metric.dimensions
(Dimension... dimensions) The dimensions of the metric.endTimestamp
(Instant endTimestamp) The end timestamp for the summary metric query.The error message for the summary metric query result.metricName
(String metricName) The name of the summary metric query result.metricName
(MetricName metricName) The name of the summary metric query result.The ID of the summary metric results query operation.queryStatus
(String queryStatus) The status of the summary metric query result.queryStatus
(MetricQueryStatus queryStatus) The status of the summary metric query result.startTimestamp
(Instant startTimestamp) The start timestamp for the summary metric query.timestamps
(Instant... timestamps) The timestamp of each aggregation result.timestamps
(Collection<Instant> timestamps) The timestamp of each aggregation result.The units of measurement to be used for interpreting the aggregation result.values
(Collection<MetricQueryValue> values) The list of aggregated summary metric query results.values
(Consumer<MetricQueryValue.Builder>... values) The list of aggregated summary metric query results.values
(MetricQueryValue... values) The list of aggregated summary metric query results.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
-
queryId
The ID of the summary metric results query operation.
- Parameters:
queryId
- The ID of the summary metric results query operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStatus
The status of the summary metric query result.
- Parameters:
queryStatus
- The status of the summary metric query result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryStatus
The status of the summary metric query result.
- Parameters:
queryStatus
- The status of the summary metric query result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
The error message for the summary metric query result.
- Parameters:
error
- The error message for the summary metric query result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
The name of the summary metric query result.
- Parameters:
metricName
- The name of the summary metric query result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricName
The name of the summary metric query result.
- Parameters:
metricName
- The name of the summary metric query result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensions
The dimensions of the metric.
- Parameters:
dimensions
- The dimensions of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions of the metric.
- Parameters:
dimensions
- The dimensions of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions of the 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 metric.
- Parameters:
aggregationPeriod
- The aggregation period of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationPeriod
The aggregation period of the metric.
- Parameters:
aggregationPeriod
- The aggregation period of the 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.
-
timestamps
The timestamp of each aggregation result.
- Parameters:
timestamps
- The timestamp of each aggregation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
The timestamp of each aggregation result.
- Parameters:
timestamps
- The timestamp of each aggregation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The list of aggregated summary metric query results.
- Parameters:
values
- The list of aggregated summary metric query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The list of aggregated summary metric query results.
- Parameters:
values
- The list of aggregated summary metric query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The list of aggregated summary metric query results.
This is a convenience method that creates an instance of theMetricQueryValue.Builder
avoiding the need to create one manually viaMetricQueryValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalues(List<MetricQueryValue>)
.- Parameters:
values
- a consumer that will call methods onMetricQueryValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
The units of measurement to be used for interpreting the aggregation result.
- Parameters:
unit
- The units of measurement to be used for interpreting the aggregation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-