Interface JobRunAsUser.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobRunAsUser.Builder,JobRunAsUser>,SdkBuilder<JobRunAsUser.Builder,JobRunAsUser>,SdkPojo
- Enclosing class:
- JobRunAsUser
public static interface JobRunAsUser.Builder extends SdkPojo, CopyableBuilder<JobRunAsUser.Builder,JobRunAsUser>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JobRunAsUser.Builderposix(Consumer<PosixUser.Builder> posix)The user and group that the jobs in the queue run as.JobRunAsUser.Builderposix(PosixUser posix)The user and group that the jobs in the queue run as.JobRunAsUser.BuilderrunAs(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.JobRunAsUser.BuilderrunAs(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.default JobRunAsUser.Builderwindows(Consumer<WindowsUser.Builder> windows)Identifies a Microsoft Windows user.JobRunAsUser.Builderwindows(WindowsUser windows)Identifies a Microsoft Windows user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
posix
default JobRunAsUser.Builder posix(Consumer<PosixUser.Builder> posix)
The user and group that the jobs in the queue run as.
This is a convenience method that creates an instance of thePosixUser.Builderavoiding the need to create one manually viaPosixUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toposix(PosixUser).- Parameters:
posix- a consumer that will call methods onPosixUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
posix(PosixUser)
-
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.
-
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.
-
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.
-
windows
default JobRunAsUser.Builder windows(Consumer<WindowsUser.Builder> windows)
Identifies a Microsoft Windows user.
This is a convenience method that creates an instance of theWindowsUser.Builderavoiding the need to create one manually viaWindowsUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towindows(WindowsUser).- Parameters:
windows- a consumer that will call methods onWindowsUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
windows(WindowsUser)
-
-