Interface ProcessDetails.Builder

  • Method Details

    • 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.
    • executablePath

      ProcessDetails.Builder executablePath(String executablePath)

      The absolute path of the process executable file.

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

      ProcessDetails.Builder executableSha256(String executableSha256)

      The SHA256 hash of the process executable.

      Parameters:
      executableSha256 - The SHA256 hash of the process executable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespacePid

      ProcessDetails.Builder namespacePid(Integer namespacePid)

      The ID of the child process.

      Parameters:
      namespacePid - The ID of the child process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pwd

      The present working directory of the process.

      Parameters:
      pwd - The present working directory of the process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pid

      The ID of the process.

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

      ProcessDetails.Builder startTime(Instant startTime)

      The time when the process started. This is in UTC format.

      Parameters:
      startTime - The time when the process started. This is in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uuid

      The unique ID assigned to the process by GuardDuty.

      Parameters:
      uuid - The unique ID assigned to the process by GuardDuty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentUuid

      ProcessDetails.Builder parentUuid(String parentUuid)

      The unique ID of the parent process. This ID is assigned to the parent process by GuardDuty.

      Parameters:
      parentUuid - The unique ID of the parent process. This ID is assigned to the parent process by GuardDuty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • user

      The user that executed the process.

      Parameters:
      user - The user that executed the process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      The unique ID of the user that executed the process.

      Parameters:
      userId - The unique ID of the user that executed the process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • euid

      The effective user ID of the user that executed the process.

      Parameters:
      euid - The effective user ID of the user that executed the process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineage

      Information about the process's lineage.

      Parameters:
      lineage - Information about the process's lineage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineage

      Information about the process's lineage.

      Parameters:
      lineage - Information about the process's lineage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineage

      Information about the process's lineage.

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

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

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