Class CfnTaskPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnTaskPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskPropsMixin>
- Enclosing class:
CfnTaskPropsMixin
@Stability(Stable)
public static final class CfnTaskPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskPropsMixin>
A fluent builder for
CfnTaskPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTaskPropsMixin.Buildercreate()static CfnTaskPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) A description of the task.An array of key-value pairs to apply to this resource.taskConfiguration(CfnTaskPropsMixin.TaskConfigurationProperty taskConfiguration) The task execution configuration.taskConfiguration(IResolvable taskConfiguration) The task execution configuration.The name of the task.workspaceName(String workspaceName) The name of the workspace.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTaskPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTaskPropsMixin.Builder.
-
description
A description of the task.- Parameters:
description- A description of the task. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
taskConfiguration
@Stability(Stable) public CfnTaskPropsMixin.Builder taskConfiguration(IResolvable taskConfiguration) The task execution configuration.- Parameters:
taskConfiguration- The task execution configuration. This parameter is required.- Returns:
this- See Also:
-
taskConfiguration
@Stability(Stable) public CfnTaskPropsMixin.Builder taskConfiguration(CfnTaskPropsMixin.TaskConfigurationProperty taskConfiguration) The task execution configuration.- Parameters:
taskConfiguration- The task execution configuration. This parameter is required.- Returns:
this- See Also:
-
taskName
The name of the task.Must be unique within the workspace.
- Parameters:
taskName- The name of the task. This parameter is required.- Returns:
this- See Also:
-
workspaceName
The name of the workspace.- Parameters:
workspaceName- The name of the workspace. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskPropsMixin>- Returns:
- a newly built instance of
CfnTaskPropsMixin.
-