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