Interface AwsEcsTaskDetails.Builder

    • Method Detail

      • 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

        AwsEcsTaskDetails.Builder version​(String 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

        AwsEcsTaskDetails.Builder group​(String 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

        AwsEcsTaskDetails.Builder volumes​(Collection<AwsEcsTaskVolumeDetails> 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

        AwsEcsTaskDetails.Builder volumes​(AwsEcsTaskVolumeDetails... 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.
      • containers

        AwsEcsTaskDetails.Builder containers​(Collection<AwsEcsContainerDetails> 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

        AwsEcsTaskDetails.Builder containers​(AwsEcsContainerDetails... 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.