Class CfnDataset.ContainerActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.ContainerActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.ContainerActionProperty>
- Enclosing interface:
CfnDataset.ContainerActionProperty
@Stability(Stable)
public static final class CfnDataset.ContainerActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.ContainerActionProperty>
A builder for
CfnDataset.ContainerActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.executionRoleArn
(String executionRoleArn) Sets the value ofCfnDataset.ContainerActionProperty.getExecutionRoleArn()
Sets the value ofCfnDataset.ContainerActionProperty.getImage()
resourceConfiguration
(IResolvable resourceConfiguration) Sets the value ofCfnDataset.ContainerActionProperty.getResourceConfiguration()
resourceConfiguration
(CfnDataset.ResourceConfigurationProperty resourceConfiguration) Sets the value ofCfnDataset.ContainerActionProperty.getResourceConfiguration()
Sets the value ofCfnDataset.ContainerActionProperty.getVariables()
variables
(IResolvable variables) Sets the value ofCfnDataset.ContainerActionProperty.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRoleArn
@Stability(Stable) public CfnDataset.ContainerActionProperty.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnDataset.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 parameter is required. 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 ofCfnDataset.ContainerActionProperty.getImage()
- Parameters:
image
- The ARN of the Docker container stored in your account. This parameter is required. The Docker container contains an application and needed support libraries and is used to generate data set contents.- Returns:
this
-
resourceConfiguration
@Stability(Stable) public CfnDataset.ContainerActionProperty.Builder resourceConfiguration(IResolvable resourceConfiguration) Sets the value ofCfnDataset.ContainerActionProperty.getResourceConfiguration()
- Parameters:
resourceConfiguration
- Configuration of the resource which executes the "containerAction". This parameter is required.- Returns:
this
-
resourceConfiguration
@Stability(Stable) public CfnDataset.ContainerActionProperty.Builder resourceConfiguration(CfnDataset.ResourceConfigurationProperty resourceConfiguration) Sets the value ofCfnDataset.ContainerActionProperty.getResourceConfiguration()
- Parameters:
resourceConfiguration
- Configuration of the resource which executes the "containerAction". This parameter is required.- Returns:
this
-
variables
@Stability(Stable) public CfnDataset.ContainerActionProperty.Builder variables(IResolvable variables) Sets the value ofCfnDataset.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 CfnDataset.ContainerActionProperty.Builder variables(List<? extends Object> variables) Sets the value ofCfnDataset.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.ContainerActionProperty>
- Returns:
- a new instance of
CfnDataset.ContainerActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-