Interface GetTelemetryQueryResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<GetTelemetryQueryResultsResponse.Builder,,GetTelemetryQueryResultsResponse> SdkBuilder<GetTelemetryQueryResultsResponse.Builder,,GetTelemetryQueryResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTelemetryQueryResultsResponse
@Mutable
@NotThreadSafe
public static interface GetTelemetryQueryResultsResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<GetTelemetryQueryResultsResponse.Builder,GetTelemetryQueryResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to retrieve the next page of results, or null if there are no more results.rows(Collection<? extends Map<String, String>> rows) The result rows returned by the query.The result rows returned by the query.statistics(Consumer<QueryStatistics.Builder> statistics) Statistics about the query execution.statistics(QueryStatistics statistics) Statistics about the query execution.The current execution status of the query.status(QueryStatus status) The current execution status of the query.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The current execution status of the query.
- Parameters:
status- The current execution status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current execution status of the query.
- Parameters:
status- The current execution status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rows
The result rows returned by the query.
- Parameters:
rows- The result rows returned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
The result rows returned by the query.
- Parameters:
rows- The result rows returned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to retrieve the next page of results, or null if there are no more results.
- Parameters:
nextToken- A token to retrieve the next page of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
Statistics about the query execution.
- Parameters:
statistics- Statistics about the query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default GetTelemetryQueryResultsResponse.Builder statistics(Consumer<QueryStatistics.Builder> statistics) Statistics about the query execution.
This is a convenience method that creates an instance of theQueryStatistics.Builderavoiding the need to create one manually viaQueryStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(QueryStatistics).- Parameters:
statistics- a consumer that will call methods onQueryStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-