Interface EcsPropertiesOverride.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EcsPropertiesOverride.Builder,EcsPropertiesOverride>,SdkBuilder<EcsPropertiesOverride.Builder,EcsPropertiesOverride>,SdkPojo
- Enclosing class:
- EcsPropertiesOverride
public static interface EcsPropertiesOverride.Builder extends SdkPojo, CopyableBuilder<EcsPropertiesOverride.Builder,EcsPropertiesOverride>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EcsPropertiesOverride.BuildertaskProperties(Collection<TaskPropertiesOverride> taskProperties)The overrides for the Amazon ECS task definition of a job.EcsPropertiesOverride.BuildertaskProperties(Consumer<TaskPropertiesOverride.Builder>... taskProperties)The overrides for the Amazon ECS task definition of a job.EcsPropertiesOverride.BuildertaskProperties(TaskPropertiesOverride... taskProperties)The overrides 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
EcsPropertiesOverride.Builder taskProperties(Collection<TaskPropertiesOverride> 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(TaskPropertiesOverride... 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 to#taskProperties(List.) - 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:
#taskProperties(java.util.Collection)
-
-