Class EcsRunTaskBaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTaskBaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EcsRunTaskBaseProps>
- Enclosing interface:
EcsRunTaskBaseProps
@Stability(Deprecated)
@Deprecated
public static final class EcsRunTaskBaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<EcsRunTaskBaseProps>
Deprecated.
A builder for
EcsRunTaskBaseProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.Sets the value ofCommonEcsRunTaskProps.getCluster()
containerOverrides
(List<? extends ContainerOverride> containerOverrides) Deprecated.Sets the value ofCommonEcsRunTaskProps.getContainerOverrides()
integrationPattern
(ServiceIntegrationPattern integrationPattern) Deprecated.Sets the value ofCommonEcsRunTaskProps.getIntegrationPattern()
parameters
(Map<String, ? extends Object> parameters) Deprecated.taskDefinition
(TaskDefinition taskDefinition) Deprecated.Sets the value ofCommonEcsRunTaskProps.getTaskDefinition()
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
parameters
@Stability(Deprecated) @Deprecated public EcsRunTaskBaseProps.Builder parameters(Map<String, ? extends Object> parameters) Deprecated.Sets the value ofEcsRunTaskBaseProps.getParameters()
- Parameters:
parameters
- Additional parameters to pass to the base task.- Returns:
this
-
cluster
Deprecated.Sets the value ofCommonEcsRunTaskProps.getCluster()
- Parameters:
cluster
- The topic to run the task on. This parameter is required.- Returns:
this
-
taskDefinition
Deprecated.Sets the value ofCommonEcsRunTaskProps.getTaskDefinition()
- Parameters:
taskDefinition
- Task Definition used for running tasks in the service. This parameter is required. Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions- Returns:
this
-
containerOverrides
@Stability(Stable) public EcsRunTaskBaseProps.Builder containerOverrides(List<? extends ContainerOverride> containerOverrides) Deprecated.Sets the value ofCommonEcsRunTaskProps.getContainerOverrides()
- Parameters:
containerOverrides
- Container setting overrides. Key is the name of the container to override, value is the values you want to override.- Returns:
this
-
integrationPattern
@Stability(Stable) public EcsRunTaskBaseProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.Sets the value ofCommonEcsRunTaskProps.getIntegrationPattern()
- Parameters:
integrationPattern
- The service integration pattern indicates different ways to call RunTask in ECS. The valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EcsRunTaskBaseProps>
- Returns:
- a new instance of
EcsRunTaskBaseProps
- Throws:
NullPointerException
- if any required attribute was not provided
-