@Stability(value=Experimental) public static final class EcsRunTaskBaseProps.Builder extends Object
EcsRunTaskBaseProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EcsRunTaskBaseProps |
build()
Builds the configured instance.
|
EcsRunTaskBaseProps.Builder |
withCluster(software.amazon.awscdk.services.ecs.ICluster value)
Sets the value of Cluster
|
EcsRunTaskBaseProps.Builder |
withContainerOverrides(List<ContainerOverride> value)
Sets the value of ContainerOverrides
|
EcsRunTaskBaseProps.Builder |
withParameters(Map<String,Object> value)
Sets the value of Parameters
|
EcsRunTaskBaseProps.Builder |
withSynchronous(Boolean value)
Sets the value of Synchronous
|
EcsRunTaskBaseProps.Builder |
withTaskDefinition(software.amazon.awscdk.services.ecs.TaskDefinition value)
Sets the value of TaskDefinition
|
@Stability(value=Experimental) public EcsRunTaskBaseProps.Builder withParameters(@Nullable Map<String,Object> value)
value - Additional parameters to pass to the base task.this@Stability(value=Experimental) public EcsRunTaskBaseProps.Builder withCluster(software.amazon.awscdk.services.ecs.ICluster value)
value - The topic to run the task on.this@Stability(value=Experimental) public EcsRunTaskBaseProps.Builder withTaskDefinition(software.amazon.awscdk.services.ecs.TaskDefinition value)
value - Task Definition used for running tasks in the service.this@Stability(value=Experimental) public EcsRunTaskBaseProps.Builder withContainerOverrides(@Nullable List<ContainerOverride> value)
value - Container setting overrides.this@Stability(value=Experimental) public EcsRunTaskBaseProps.Builder withSynchronous(@Nullable Boolean value)
value - Whether to wait for the task to complete and return the response.this@Stability(value=Experimental) public EcsRunTaskBaseProps build()
EcsRunTaskBasePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.