Interface EcsProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EcsProperties.Builder,
,EcsProperties> SdkBuilder<EcsProperties.Builder,
,EcsProperties> SdkPojo
- Enclosing class:
EcsProperties
public static interface EcsProperties.Builder
extends SdkPojo, CopyableBuilder<EcsProperties.Builder,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, 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 element.
- Parameters:
taskProperties
- An object that contains the properties 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
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
- Parameters:
taskProperties
- An object that contains the properties 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
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
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:
-