Interface EcsProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EcsProperties.Builder,
,EcsProperties> SdkBuilder<EcsProperties.Builder,
,EcsProperties> SdkPojo
- Enclosing class:
EcsProperties
-
Method Summary
Modifier and TypeMethodDescriptiontaskProperties
(Collection<EcsTaskProperties> taskProperties) An object that contains the properties for the Amazon ECS task definition of a job.taskProperties
(Consumer<EcsTaskProperties.Builder>... taskProperties) An object that contains the properties for the Amazon ECS task definition of a job.taskProperties
(EcsTaskProperties... taskProperties) An object that contains the properties 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, sdkFieldNameToField, sdkFields
-
Method Details
-
taskProperties
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one task element. However, the task element can run up to 10 containers.
- Parameters:
taskProperties
- An object that contains the properties for the Amazon ECS task definition of a job.This object is currently limited to one task element. However, the task element can run up to 10 containers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one task element. However, the task element can run up to 10 containers.
- Parameters:
taskProperties
- An object that contains the properties for the Amazon ECS task definition of a job.This object is currently limited to one task element. However, the task element can run up to 10 containers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one task element. However, the task element can run up to 10 containers.
EcsTaskProperties.Builder
avoiding the need to create one manually viaEcsTaskProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskProperties(List<EcsTaskProperties>)
.- Parameters:
taskProperties
- a consumer that will call methods onEcsTaskProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-