Interface JobRunAsUser.Builder

  • Method Details

    • posix

      The user and group that the jobs in the queue run as.

      Parameters:
      posix - The user and group that the jobs in the queue run as.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • posix

      The user and group that the jobs in the queue run as.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to posix(PosixUser).

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

      Identifies a Microsoft Windows user.

      Parameters:
      windows - Identifies a Microsoft Windows user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • windows

      Identifies a Microsoft Windows user.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to windows(WindowsUser).

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

      Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.

      Parameters:
      runAs - Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runAs

      Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.

      Parameters:
      runAs - Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: