public static interface GetQueryResultsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>
Modifier and Type | Method and Description |
---|---|
GetQueryResultsResponse.Builder |
results(Collection<? extends Collection<ResultField>> results)
The log events that matched the query criteria during the most recent time it ran.
|
GetQueryResultsResponse.Builder |
results(Collection<ResultField>... results)
The log events that matched the query criteria during the most recent time it ran.
|
default GetQueryResultsResponse.Builder |
statistics(Consumer<QueryStatistics.Builder> statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query
criteria, and the total number of bytes in the log events that were scanned.
|
GetQueryResultsResponse.Builder |
statistics(QueryStatistics statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query
criteria, and the total number of bytes in the log events that were scanned.
|
GetQueryResultsResponse.Builder |
status(QueryStatus status)
The status of the most recent running of the query.
|
GetQueryResultsResponse.Builder |
status(String status)
The status of the most recent running of the query.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetQueryResultsResponse.Builder results(Collection<? extends Collection<ResultField>> results)
The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field
/value
pairs.
results
- The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level
array. Each of these log event objects is an array of field
/value
pairs.
GetQueryResultsResponse.Builder results(Collection<ResultField>... results)
The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field
/value
pairs.
results
- The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level
array. Each of these log event objects is an array of field
/value
pairs.
GetQueryResultsResponse.Builder statistics(QueryStatistics statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
statistics
- Includes the number of log events scanned by the query, the number of log events that matched the
query criteria, and the total number of bytes in the log events that were scanned.default GetQueryResultsResponse.Builder statistics(Consumer<QueryStatistics.Builder> statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
This is a convenience that creates an instance of theQueryStatistics.Builder
avoiding the need to
create one manually via QueryStatistics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to statistics(QueryStatistics)
.statistics
- a consumer that will call methods on QueryStatistics.Builder
statistics(QueryStatistics)
GetQueryResultsResponse.Builder status(String status)
The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, and
Unknown
.
status
- The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, and
Unknown
.QueryStatus
,
QueryStatus
GetQueryResultsResponse.Builder status(QueryStatus status)
The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, and
Unknown
.
status
- The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, and
Unknown
.QueryStatus
,
QueryStatus
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.