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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SummaryMetricQuery.BuilderaggregationPeriod(String aggregationPeriod)The aggregation period of the summary metric.SummaryMetricQuery.BuilderaggregationPeriod(AggregationPeriod aggregationPeriod)The aggregation period of the summary metric.SummaryMetricQuery.Builderdimensions(Collection<Dimension> dimensions)The dimensions of the summary metric.SummaryMetricQuery.Builderdimensions(Consumer<Dimension.Builder>... dimensions)The dimensions of the summary metric.SummaryMetricQuery.Builderdimensions(Dimension... dimensions)The dimensions of the summary metric.SummaryMetricQuery.BuilderendTimestamp(Instant endTimestamp)The end timestamp for the summary metric query.SummaryMetricQuery.BuildermetricName(String metricName)The name of the metric.SummaryMetricQuery.BuildermetricName(MetricName metricName)The name of the metric.SummaryMetricQuery.BuilderqueryId(String queryId)The id of the summary metric query.SummaryMetricQuery.BuilderstartTimestamp(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
queryId
SummaryMetricQuery.Builder queryId(String 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
SummaryMetricQuery.Builder metricName(String 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,MetricName
-
metricName
SummaryMetricQuery.Builder metricName(MetricName 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,MetricName
-
dimensions
SummaryMetricQuery.Builder dimensions(Collection<Dimension> 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
SummaryMetricQuery.Builder dimensions(Dimension... 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
SummaryMetricQuery.Builder dimensions(Consumer<Dimension.Builder>... dimensions)
The dimensions of the summary metric.
This is a convenience method that creates an instance of theDimension.Builderavoiding the need to create one manually viaDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensions(List.) - 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:
#dimensions(java.util.Collection)
-
aggregationPeriod
SummaryMetricQuery.Builder aggregationPeriod(String 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,AggregationPeriod
-
aggregationPeriod
SummaryMetricQuery.Builder aggregationPeriod(AggregationPeriod 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,AggregationPeriod
-
startTimestamp
SummaryMetricQuery.Builder startTimestamp(Instant 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
SummaryMetricQuery.Builder endTimestamp(Instant 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.
-
-