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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forQueryStringPropsstatic final classAn implementation forQueryStringProps -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryStringProps.Builderbuilder()default StringSpecifies which fields to display in the query results.Retrieves the specified fields from log events for display.default StringFilters the results of a query that's based on one or more conditions.default NumbergetLimit()Specifies the number of log events returned by the query.default StringgetParse()Extracts data from a log field and creates one or more ephemeral fields that you can process further in the query.default StringgetSort()Sorts the retrieved log events.default StringgetStats()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.BuilderofQueryStringProps
-