Class CfnTask.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnTask.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTask>
- Enclosing class:
CfnTask
@Stability(Stable)
public static final class CfnTask.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTask>
A fluent builder for
CfnTask.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTask.Builderdescription(String description) A description of the task.An array of key-value pairs to apply to this resource.taskConfiguration(IResolvable taskConfiguration) The task execution configuration.taskConfiguration(CfnTask.TaskConfigurationProperty taskConfiguration) The task execution configuration.The name of the task.workspaceName(String workspaceName) The name of the workspace.
-
Method Details
-
create
@Stability(Stable) public static CfnTask.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTask.Builder.
-
taskConfiguration
The task execution configuration.- Parameters:
taskConfiguration- The task execution configuration. This parameter is required.- Returns:
this- See Also:
-
taskConfiguration
@Stability(Stable) public CfnTask.Builder taskConfiguration(CfnTask.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:
-
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:
-
build
-