Class LaunchTargetBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.LaunchTargetBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTargetBindOptions>
- Enclosing interface:
- LaunchTargetBindOptions
@Stability(Stable)
public static final class LaunchTargetBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<LaunchTargetBindOptions>
A builder for
LaunchTargetBindOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofLaunchTargetBindOptions.getCluster()taskDefinition(ITaskDefinition taskDefinition) Sets the value ofLaunchTargetBindOptions.getTaskDefinition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
taskDefinition
@Stability(Stable) public LaunchTargetBindOptions.Builder taskDefinition(ITaskDefinition taskDefinition) Sets the value ofLaunchTargetBindOptions.getTaskDefinition()- Parameters:
taskDefinition- Task definition to run Docker containers in Amazon ECS. This parameter is required.- Returns:
this
-
cluster
Sets the value ofLaunchTargetBindOptions.getCluster()- Parameters:
cluster- A regional grouping of one or more container instances on which you can run tasks and services.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTargetBindOptions>- Returns:
- a new instance of
LaunchTargetBindOptions - Throws:
NullPointerException- if any required attribute was not provided
-