Class CfnDataset.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.ActionProperty>
- Enclosing interface:
CfnDataset.ActionProperty
@Stability(Stable)
public static final class CfnDataset.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.ActionProperty>
A builder for
CfnDataset.ActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Sets the value ofCfnDataset.ActionProperty.getActionName()
build()
Builds the configured instance.containerAction
(IResolvable containerAction) Sets the value ofCfnDataset.ActionProperty.getContainerAction()
containerAction
(CfnDataset.ContainerActionProperty containerAction) Sets the value ofCfnDataset.ActionProperty.getContainerAction()
queryAction
(IResolvable queryAction) Sets the value ofCfnDataset.ActionProperty.getQueryAction()
queryAction
(CfnDataset.QueryActionProperty queryAction) Sets the value ofCfnDataset.ActionProperty.getQueryAction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
Sets the value ofCfnDataset.ActionProperty.getActionName()
- Parameters:
actionName
- The name of the data set action by which data set contents are automatically created. This parameter is required.- Returns:
this
-
containerAction
@Stability(Stable) public CfnDataset.ActionProperty.Builder containerAction(IResolvable containerAction) Sets the value ofCfnDataset.ActionProperty.getContainerAction()
- Parameters:
containerAction
- Information which allows the system to run a containerized application in order to create the data set contents. The application must be in a Docker container along with any needed support libraries.- Returns:
this
-
containerAction
@Stability(Stable) public CfnDataset.ActionProperty.Builder containerAction(CfnDataset.ContainerActionProperty containerAction) Sets the value ofCfnDataset.ActionProperty.getContainerAction()
- Parameters:
containerAction
- Information which allows the system to run a containerized application in order to create the data set contents. The application must be in a Docker container along with any needed support libraries.- Returns:
this
-
queryAction
Sets the value ofCfnDataset.ActionProperty.getQueryAction()
- Parameters:
queryAction
- An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.- Returns:
this
-
queryAction
@Stability(Stable) public CfnDataset.ActionProperty.Builder queryAction(CfnDataset.QueryActionProperty queryAction) Sets the value ofCfnDataset.ActionProperty.getQueryAction()
- Parameters:
queryAction
- An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.ActionProperty>
- Returns:
- a new instance of
CfnDataset.ActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-