Interface Statement.Builder

    • Method Detail

      • id

        Statement.Builder id​(Integer id)

        The ID of the statement.

        Parameters:
        id - The ID of the statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • code

        Statement.Builder code​(String code)

        The execution code of the statement.

        Parameters:
        code - The execution code of the statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Statement.Builder state​(String state)

        The state while request is actioned.

        Parameters:
        state - The state while request is actioned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StatementState, StatementState
      • output

        Statement.Builder output​(StatementOutput output)

        The output in JSON.

        Parameters:
        output - The output in JSON.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • progress

        Statement.Builder progress​(Double progress)

        The code execution progress.

        Parameters:
        progress - The code execution progress.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedOn

        Statement.Builder startedOn​(Long startedOn)

        The unix time and date that the job definition was started.

        Parameters:
        startedOn - The unix time and date that the job definition was started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completedOn

        Statement.Builder completedOn​(Long completedOn)

        The unix time and date that the job definition was completed.

        Parameters:
        completedOn - The unix time and date that the job definition was completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.