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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 is a convenience method that creates an instance of theThis object is currently limited to one element.
EcsTaskProperties.Builderavoiding the need to create one manually viaEcsTaskProperties.builder().When the
Consumercompletes,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:
-