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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EcsProperties.BuildertaskProperties(Collection<EcsTaskProperties> taskProperties)An object that contains the properties for the Amazon ECS task definition of a job.EcsProperties.BuildertaskProperties(Consumer<EcsTaskProperties.Builder>... taskProperties)An object that contains the properties for the Amazon ECS task definition of a job.EcsProperties.BuildertaskProperties(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 Detail
-
taskProperties
EcsProperties.Builder taskProperties(Collection<EcsTaskProperties> 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
EcsProperties.Builder taskProperties(EcsTaskProperties... 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
EcsProperties.Builder taskProperties(Consumer<EcsTaskProperties.Builder>... 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 task element. However, the task element can run up to 10 containers.
EcsTaskProperties.Builderavoiding the need to create one manually viaEcsTaskProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#taskProperties(List.) - 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:
#taskProperties(java.util.Collection)
-
-