Interface AwsEcsTaskDetails.Builder

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

public static interface AwsEcsTaskDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDetails.Builder,AwsEcsTaskDetails>
  • Method Details

    • clusterArn

      AwsEcsTaskDetails.Builder clusterArn(String clusterArn)

      The Amazon Resource Name (ARN) of the cluster that hosts the task.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the cluster that hosts the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskDefinitionArn

      AwsEcsTaskDetails.Builder taskDefinitionArn(String taskDefinitionArn)

      The ARN of the task definition that creates the task.

      Parameters:
      taskDefinitionArn - The ARN of the task definition that creates the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version counter for the task.

      Parameters:
      version - The version counter for the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      AwsEcsTaskDetails.Builder createdAt(String createdAt)

      The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the PENDING state.

      Parameters:
      createdAt - The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the PENDING state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      AwsEcsTaskDetails.Builder startedAt(String startedAt)

      The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the PENDING state to the RUNNING state.

      Parameters:
      startedAt - The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the PENDING state to the RUNNING state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedBy

      AwsEcsTaskDetails.Builder startedBy(String startedBy)

      The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy parameter contains the deployment ID of that service.

      Parameters:
      startedBy - The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy parameter contains the deployment ID of that service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • group

      The name of the task group that's associated with the task.

      Parameters:
      group - The name of the task group that's associated with the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumes

      Details about the data volume that is used in a task definition.

      Parameters:
      volumes - Details about the data volume that is used in a task definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumes

      Details about the data volume that is used in a task definition.

      Parameters:
      volumes - Details about the data volume that is used in a task definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumes

      Details about the data volume that is used in a task definition.

      This is a convenience method that creates an instance of the AwsEcsTaskVolumeDetails.Builder avoiding the need to create one manually via AwsEcsTaskVolumeDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to volumes(List<AwsEcsTaskVolumeDetails>).

      Parameters:
      volumes - a consumer that will call methods on AwsEcsTaskVolumeDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containers

      The containers that are associated with the task.

      Parameters:
      containers - The containers that are associated with the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      The containers that are associated with the task.

      Parameters:
      containers - The containers that are associated with the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      The containers that are associated with the task.

      This is a convenience method that creates an instance of the AwsEcsContainerDetails.Builder avoiding the need to create one manually via AwsEcsContainerDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to containers(List<AwsEcsContainerDetails>).

      Parameters:
      containers - a consumer that will call methods on AwsEcsContainerDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: