public static interface StartQueryRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<StartQueryRequest.Builder,StartQueryRequest>
Modifier and Type | Method and Description |
---|---|
StartQueryRequest.Builder |
endTime(Long endTime)
The time to end this query, if it is still running.
|
StartQueryRequest.Builder |
limit(Integer limit)
The maximum number of log events to return in the query.
|
StartQueryRequest.Builder |
logGroupName(String logGroupName)
The log group on which to perform the query.
|
StartQueryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartQueryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
StartQueryRequest.Builder |
queryString(String queryString)
The query string to use.
|
StartQueryRequest.Builder |
startTime(Long startTime)
The time to start the query.
|
build
overrideConfiguration
copy
applyMutation, build
StartQueryRequest.Builder logGroupName(String logGroupName)
The log group on which to perform the query.
logGroupName
- The log group on which to perform the query.StartQueryRequest.Builder startTime(Long startTime)
The time to start the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
startTime
- The time to start the query. Specified as epoch time, the number of seconds since January 1, 1970,
00:00:00 UTC.StartQueryRequest.Builder endTime(Long endTime)
The time to end this query, if it is still running. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
endTime
- The time to end this query, if it is still running. Specified as epoch time, the number of seconds
since January 1, 1970, 00:00:00 UTC.StartQueryRequest.Builder queryString(String queryString)
The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.
queryString
- The query string to use. For more information, see CloudWatch Logs
Insights Query Syntax.StartQueryRequest.Builder limit(Integer limit)
The maximum number of log events to return in the query. If the query string uses the fields
command, only the specified fields and their values are returned.
limit
- The maximum number of log events to return in the query. If the query string uses the
fields
command, only the specified fields and their values are returned.StartQueryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartQueryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.