Interface Process.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Process.Builder,Process>, SdkBuilder<Process.Builder,Process>, SdkPojo
Enclosing class:
Process

@Mutable @NotThreadSafe public static interface Process.Builder extends SdkPojo, CopyableBuilder<Process.Builder,Process>
  • Method Details

    • uuid

      Process.Builder uuid(String uuid)

      The unique identifier of the process.

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

      Process.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

      Process.Builder path(String path)

      The path of the process executable.

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

      Process.Builder parentUuid(String parentUuid)

      The unique identifier of the parent process. Not set for the root process.

      Parameters:
      parentUuid - The unique identifier of the parent process. Not set for the root process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      The findings associated with this process.

      Parameters:
      findings - The findings associated with this process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      Process.Builder findings(FindingReference... findings)

      The findings associated with this process.

      Parameters:
      findings - The findings associated with this process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      The findings associated with this process.

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

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

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