Interface QueryRange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueryRange.Builder,,QueryRange> SdkBuilder<QueryRange.Builder,,QueryRange> SdkPojo
- Enclosing class:
QueryRange
@Mutable
@NotThreadSafe
public static interface QueryRange.Builder
extends SdkPojo, CopyableBuilder<QueryRange.Builder,QueryRange>
-
Method Summary
Modifier and TypeMethodDescriptiondataPoints(Collection<QueryDataPoint> dataPoints) The data points within the query range.dataPoints(Consumer<QueryDataPoint.Builder>... dataPoints) The data points within the query range.dataPoints(QueryDataPoint... dataPoints) The data points within the query range.The end time of the query range.granularity(String granularity) The granularity of the query range data points.granularity(QueryGranularity granularity) The granularity of the query range data points.The start time of the query range.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
-
startTime
The start time of the query range.
- Parameters:
startTime- The start time of the query range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the query range.
- Parameters:
endTime- The end time of the query range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
granularity
The granularity of the query range data points.
- Parameters:
granularity- The granularity of the query range data points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
The granularity of the query range data points.
- Parameters:
granularity- The granularity of the query range data points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataPoints
The data points within the query range.
- Parameters:
dataPoints- The data points within the query range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPoints
The data points within the query range.
- Parameters:
dataPoints- The data points within the query range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPoints
The data points within the query range.
This is a convenience method that creates an instance of theQueryDataPoint.Builderavoiding the need to create one manually viaQueryDataPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataPoints(List<QueryDataPoint>).- Parameters:
dataPoints- a consumer that will call methods onQueryDataPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-