Interface EcsProperties.Builder

    • 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 task element. However, the task element can run up to 10 containers.

        Parameters:
        taskProperties - An object that contains the properties for the Amazon ECS task definition of a job.

        This object is currently limited to one task element. However, the task element can run up to 10 containers.

        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 task element. However, the task element can run up to 10 containers.

        Parameters:
        taskProperties - An object that contains the properties for the Amazon ECS task definition of a job.

        This object is currently limited to one task element. However, the task element can run up to 10 containers.

        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 task element. However, the task element can run up to 10 containers.

        This is a convenience method that creates an instance of the EcsTaskProperties.Builder avoiding the need to create one manually via EcsTaskProperties.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 on EcsTaskProperties.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #taskProperties(java.util.Collection)