Class QueryStringProps.Builder
java.lang.Object
software.amazon.awscdk.services.logs.QueryStringProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<QueryStringProps>
- Enclosing interface:
- QueryStringProps
@Stability(Stable)
public static final class QueryStringProps.Builder
extends Object
implements software.amazon.jsii.Builder<QueryStringProps>
A builder for
QueryStringProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofQueryStringProps.getDisplay()Sets the value ofQueryStringProps.getFields()Sets the value ofQueryStringProps.getFilter()Sets the value ofQueryStringProps.getLimit()Sets the value ofQueryStringProps.getParse()Sets the value ofQueryStringProps.getSort()Sets the value ofQueryStringProps.getStats()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
display
Sets the value ofQueryStringProps.getDisplay()- Parameters:
display- Specifies which fields to display in the query results.- Returns:
this
-
fields
Sets the value ofQueryStringProps.getFields()- Parameters:
fields- Retrieves the specified fields from log events for display.- Returns:
this
-
filter
Sets the value ofQueryStringProps.getFilter()- Parameters:
filter- Filters the results of a query that's based on one or more conditions.- Returns:
this
-
limit
Sets the value ofQueryStringProps.getLimit()- Parameters:
limit- Specifies the number of log events returned by the query.- Returns:
this
-
parse
Sets the value ofQueryStringProps.getParse()- Parameters:
parse- Extracts data from a log field and creates one or more ephemeral fields that you can process further in the query.- Returns:
this
-
sort
Sets the value ofQueryStringProps.getSort()- Parameters:
sort- Sorts the retrieved log events.- Returns:
this
-
stats
Sets the value ofQueryStringProps.getStats()- Parameters:
stats- Uses log field values to calculate aggregate statistics.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<QueryStringProps>- Returns:
- a new instance of
QueryStringProps - Throws:
NullPointerException- if any required attribute was not provided
-