Interface QueryStringProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
QueryStringProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.133Z")
@Stability(Stable)
public interface QueryStringProps
extends software.amazon.jsii.JsiiSerializable
Properties for a QueryString.
Example:
QueryDefinition.Builder.create(this, "QueryDefinition") .queryDefinitionName("MyQuery") .queryString(QueryString.Builder.create() .fields(List.of("@timestamp", "@message")) .sort("@timestamp desc") .limit(20) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forQueryStringProps
static final class
An implementation forQueryStringProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryStringProps.Builder
builder()
default String
Specifies which fields to display in the query results.Retrieves the specified fields from log events for display.default String
Filters the results of a query that's based on one or more conditions.default Number
getLimit()
Specifies the number of log events returned by the query.default String
getParse()
Extracts data from a log field and creates one or more ephemeral fields that you can process further in the query.default String
getSort()
Sorts the retrieved log events.default String
getStats()
Uses log field values to calculate aggregate statistics.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDisplay
Specifies which fields to display in the query results.Default: - no display in QueryString
-
getFields
Retrieves the specified fields from log events for display.Default: - no fields in QueryString
-
getFilter
Filters the results of a query that's based on one or more conditions.Default: - no filter in QueryString
-
getLimit
Specifies the number of log events returned by the query.Default: - no limit in QueryString
-
getParse
Extracts data from a log field and creates one or more ephemeral fields that you can process further in the query.Default: - no parse in QueryString
-
getSort
Sorts the retrieved log events.Default: - no sort in QueryString
-
getStats
Uses log field values to calculate aggregate statistics.Default: - no stats in QueryString
-
builder
- Returns:
- a
QueryStringProps.Builder
ofQueryStringProps
-