Interface ProcessDetails.Builder

    • Method Detail

      • name

        ProcessDetails.Builder name​(String name)

        The name of the process.

        Parameters:
        name - The name of the process.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        ProcessDetails.Builder path​(String path)

        The path to the process executable.

        Parameters:
        path - The path to the process executable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pid

        ProcessDetails.Builder pid​(Integer pid)

        The process ID.

        Parameters:
        pid - The process ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentPid

        ProcessDetails.Builder parentPid​(Integer parentPid)

        The parent process ID. This field accepts positive integers between O and 2147483647.

        Parameters:
        parentPid - The parent process ID. This field accepts positive integers between O and 2147483647.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • launchedAt

        ProcessDetails.Builder launchedAt​(String launchedAt)

        Indicates when the process was launched.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

        Parameters:
        launchedAt - Indicates when the process was launched.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • terminatedAt

        ProcessDetails.Builder terminatedAt​(String terminatedAt)

        Indicates when the process was terminated.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

        Parameters:
        terminatedAt - Indicates when the process was terminated.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

        Returns:
        Returns a reference to this object so that method calls can be chained together.