Interface EcsPropertiesOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EcsPropertiesOverride.Builder,,EcsPropertiesOverride> SdkBuilder<EcsPropertiesOverride.Builder,,EcsPropertiesOverride> SdkPojo
- Enclosing class:
EcsPropertiesOverride
@Mutable
@NotThreadSafe
public static interface EcsPropertiesOverride.Builder
extends SdkPojo, CopyableBuilder<EcsPropertiesOverride.Builder,EcsPropertiesOverride>
-
Method Summary
Modifier and TypeMethodDescriptiontaskProperties(Collection<TaskPropertiesOverride> taskProperties) The overrides for the Amazon ECS task definition of a job.taskProperties(Consumer<TaskPropertiesOverride.Builder>... taskProperties) The overrides for the Amazon ECS task definition of a job.taskProperties(TaskPropertiesOverride... taskProperties) The overrides 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, sdkFieldNameToField, sdkFields
-
Method Details
-
taskProperties
The overrides for the Amazon ECS task definition of a job.
This object is currently limited to one element.
- Parameters:
taskProperties- The overrides 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
The overrides for the Amazon ECS task definition of a job.
This object is currently limited to one element.
- Parameters:
taskProperties- The overrides 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
EcsPropertiesOverride.Builder taskProperties(Consumer<TaskPropertiesOverride.Builder>... taskProperties) The overrides 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.
TaskPropertiesOverride.Builderavoiding the need to create one manually viaTaskPropertiesOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskProperties(List<TaskPropertiesOverride>).- Parameters:
taskProperties- a consumer that will call methods onTaskPropertiesOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-