Interface AttemptDetail.Builder

    • Method Detail

      • container

        AttemptDetail.Builder container​(AttemptContainerDetail container)

        The details for the container in this job attempt.

        Parameters:
        container - The details for the container in this job attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        AttemptDetail.Builder startedAt​(Long startedAt)

        The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING state to the RUNNING state).

        Parameters:
        startedAt - The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING state to the RUNNING state).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stoppedAt

        AttemptDetail.Builder stoppedAt​(Long stoppedAt)

        The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

        Parameters:
        stoppedAt - The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReason

        AttemptDetail.Builder statusReason​(String statusReason)

        A short, human-readable string to provide additional details for the current status of the job attempt.

        Parameters:
        statusReason - A short, human-readable string to provide additional details for the current status of the job attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskProperties

        AttemptDetail.Builder taskProperties​(Collection<AttemptEcsTaskDetails> taskProperties)

        The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.

        Parameters:
        taskProperties - The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskProperties

        AttemptDetail.Builder taskProperties​(AttemptEcsTaskDetails... taskProperties)

        The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.

        Parameters:
        taskProperties - The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.