Interface JobRunAsUser.Builder

    • Method Detail

      • posix

        JobRunAsUser.Builder posix​(PosixUser 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.
      • runAs

        JobRunAsUser.Builder runAs​(String 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, RunAs
      • runAs

        JobRunAsUser.Builder runAs​(RunAs 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, RunAs
      • windows

        JobRunAsUser.Builder windows​(WindowsUser 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.