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