Class CfnTaskMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnTaskMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskMixinProps>
- Enclosing interface:
CfnTaskMixinProps
@Stability(Stable)
public static final class CfnTaskMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskMixinProps>
A builder for
CfnTaskMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnTaskMixinProps.getDescription()Sets the value ofCfnTaskMixinProps.getTags()taskConfiguration(CfnTaskPropsMixin.TaskConfigurationProperty taskConfiguration) Sets the value ofCfnTaskMixinProps.getTaskConfiguration()taskConfiguration(IResolvable taskConfiguration) Sets the value ofCfnTaskMixinProps.getTaskConfiguration()Sets the value ofCfnTaskMixinProps.getTaskName()workspaceName(String workspaceName) Sets the value ofCfnTaskMixinProps.getWorkspaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnTaskMixinProps.getDescription()- Parameters:
description- A description of the task.- Returns:
this
-
tags
Sets the value ofCfnTaskMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
taskConfiguration
@Stability(Stable) public CfnTaskMixinProps.Builder taskConfiguration(IResolvable taskConfiguration) Sets the value ofCfnTaskMixinProps.getTaskConfiguration()- Parameters:
taskConfiguration- The task execution configuration.- Returns:
this
-
taskConfiguration
@Stability(Stable) public CfnTaskMixinProps.Builder taskConfiguration(CfnTaskPropsMixin.TaskConfigurationProperty taskConfiguration) Sets the value ofCfnTaskMixinProps.getTaskConfiguration()- Parameters:
taskConfiguration- The task execution configuration.- Returns:
this
-
taskName
Sets the value ofCfnTaskMixinProps.getTaskName()- Parameters:
taskName- The name of the task. Must be unique within the workspace.- Returns:
this
-
workspaceName
Sets the value ofCfnTaskMixinProps.getWorkspaceName()- Parameters:
workspaceName- The name of the workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskMixinProps>- Returns:
- a new instance of
CfnTaskMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-