Interface EcsPropertiesOverride.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EcsPropertiesOverride.Builder,
,EcsPropertiesOverride> SdkBuilder<EcsPropertiesOverride.Builder,
,EcsPropertiesOverride> SdkPojo
- Enclosing class:
EcsPropertiesOverride
public static interface EcsPropertiesOverride.Builder
extends SdkPojo, CopyableBuilder<EcsPropertiesOverride.Builder,EcsPropertiesOverride>
-
Method Summary
Modifier and TypeMethodDescriptiontaskProperties
(Collection<TaskPropertiesOverride> taskProperties) The overrides for the Amazon ECS task definition of a job.taskProperties
(Consumer<TaskPropertiesOverride.Builder>... taskProperties) The overrides for the Amazon ECS task definition of a job.taskProperties
(TaskPropertiesOverride... taskProperties) The overrides for the Amazon ECS task definition of a job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
taskProperties
The overrides for the Amazon ECS task definition of a job.
This object is currently limited to one element.
- Parameters:
taskProperties
- The overrides for the Amazon ECS task definition of a job.This object is currently limited to one element.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
The overrides for the Amazon ECS task definition of a job.
This object is currently limited to one element.
- Parameters:
taskProperties
- The overrides for the Amazon ECS task definition of a job.This object is currently limited to one element.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
EcsPropertiesOverride.Builder taskProperties(Consumer<TaskPropertiesOverride.Builder>... taskProperties) The overrides for the Amazon ECS task definition of a job.
This object is currently limited to one element.
TaskPropertiesOverride.Builder
avoiding the need to create one manually viaTaskPropertiesOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskProperties(List<TaskPropertiesOverride>)
.- Parameters:
taskProperties
- a consumer that will call methods onTaskPropertiesOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-