Class CfnDataset.QueryActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.QueryActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.QueryActionProperty>
- Enclosing interface:
CfnDataset.QueryActionProperty
@Stability(Stable)
public static final class CfnDataset.QueryActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.QueryActionProperty>
A builder for
CfnDataset.QueryActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataset.QueryActionProperty.getFilters()
filters
(IResolvable filters) Sets the value ofCfnDataset.QueryActionProperty.getFilters()
Sets the value ofCfnDataset.QueryActionProperty.getSqlQuery()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sqlQuery
Sets the value ofCfnDataset.QueryActionProperty.getSqlQuery()
- Parameters:
sqlQuery
- An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents. This parameter is required.- Returns:
this
-
filters
Sets the value ofCfnDataset.QueryActionProperty.getFilters()
- Parameters:
filters
- Pre-filters applied to message data.- Returns:
this
-
filters
@Stability(Stable) public CfnDataset.QueryActionProperty.Builder filters(List<? extends Object> filters) Sets the value ofCfnDataset.QueryActionProperty.getFilters()
- Parameters:
filters
- Pre-filters applied to message data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.QueryActionProperty>
- Returns:
- a new instance of
CfnDataset.QueryActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-