Interface EcsTask.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EcsTask.Builder,EcsTask>, SdkBuilder<EcsTask.Builder,EcsTask>, SdkPojo
Enclosing class:
EcsTask

@Mutable @NotThreadSafe public static interface EcsTask.Builder extends SdkPojo, CopyableBuilder<EcsTask.Builder,EcsTask>
  • Method Details

    • createdAt

      EcsTask.Builder createdAt(Instant createdAt)

      The timestamp indicating when the Amazon ECS task was created, in UTC format.

      Parameters:
      createdAt - The timestamp indicating when the Amazon ECS task was created, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskDefinitionArn

      EcsTask.Builder taskDefinitionArn(String taskDefinitionArn)

      The ARN of task definition which describes the container and volume definitions of the Amazon ECS task.

      Parameters:
      taskDefinitionArn - The ARN of task definition which describes the container and volume definitions of the Amazon ECS task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchType

      EcsTask.Builder launchType(String launchType)

      The infrastructure type on which the Amazon ECS task runs.

      Parameters:
      launchType - The infrastructure type on which the Amazon ECS task runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • launchType

      EcsTask.Builder launchType(EcsLaunchType launchType)

      The infrastructure type on which the Amazon ECS task runs.

      Parameters:
      launchType - The infrastructure type on which the Amazon ECS task runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerUids

      EcsTask.Builder containerUids(Collection<String> containerUids)

      A list of unique identifiers for the containers associated with the Amazon ECS task.

      Parameters:
      containerUids - A list of unique identifiers for the containers associated with the Amazon ECS task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerUids

      EcsTask.Builder containerUids(String... containerUids)

      A list of unique identifiers for the containers associated with the Amazon ECS task.

      Parameters:
      containerUids - A list of unique identifiers for the containers associated with the Amazon ECS task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.