Class CfnDatasetPropsMixin.ContainerActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatasetPropsMixin.ContainerActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.ContainerActionProperty>
- Enclosing interface:
CfnDatasetPropsMixin.ContainerActionProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.ContainerActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.ContainerActionProperty>
A builder for
CfnDatasetPropsMixin.ContainerActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionRoleArn(String executionRoleArn) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getExecutionRoleArn()Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getImage()resourceConfiguration(CfnDatasetPropsMixin.ResourceConfigurationProperty resourceConfiguration) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getResourceConfiguration()resourceConfiguration(IResolvable resourceConfiguration) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getResourceConfiguration()Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getVariables()variables(IResolvable variables) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRoleArn
@Stability(Stable) public CfnDatasetPropsMixin.ContainerActionProperty.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getExecutionRoleArn()- Parameters:
executionRoleArn- The ARN of the role which gives permission to the system to access needed resources in order to run the "containerAction". This includes, at minimum, permission to retrieve the data set contents which are the input to the containerized application.- Returns:
this
-
image
Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getImage()- Parameters:
image- The ARN of the Docker container stored in your account. The Docker container contains an application and needed support libraries and is used to generate data set contents.- Returns:
this
-
resourceConfiguration
@Stability(Stable) public CfnDatasetPropsMixin.ContainerActionProperty.Builder resourceConfiguration(IResolvable resourceConfiguration) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getResourceConfiguration()- Parameters:
resourceConfiguration- Configuration of the resource which executes the "containerAction".- Returns:
this
-
resourceConfiguration
@Stability(Stable) public CfnDatasetPropsMixin.ContainerActionProperty.Builder resourceConfiguration(CfnDatasetPropsMixin.ResourceConfigurationProperty resourceConfiguration) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getResourceConfiguration()- Parameters:
resourceConfiguration- Configuration of the resource which executes the "containerAction".- Returns:
this
-
variables
@Stability(Stable) public CfnDatasetPropsMixin.ContainerActionProperty.Builder variables(IResolvable variables) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getVariables()- Parameters:
variables- The values of variables used within the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue".- Returns:
this
-
variables
@Stability(Stable) public CfnDatasetPropsMixin.ContainerActionProperty.Builder variables(List<? extends Object> variables) Sets the value ofCfnDatasetPropsMixin.ContainerActionProperty.getVariables()- Parameters:
variables- The values of variables used within the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue".- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.ContainerActionProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.ContainerActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-