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.Builder
taskProperties(Collection<EcsTaskProperties> taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.EcsProperties.Builder
taskProperties(Consumer<EcsTaskProperties.Builder>... taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.EcsProperties.Builder
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 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 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
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 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
EcsProperties.Builder taskProperties(Consumer<EcsTaskProperties.Builder>... 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 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
)
-
-