Interface JobRunAsUser.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobRunAsUser.Builder,
,JobRunAsUser> SdkBuilder<JobRunAsUser.Builder,
,JobRunAsUser> SdkPojo
- Enclosing class:
JobRunAsUser
@Mutable
@NotThreadSafe
public static interface JobRunAsUser.Builder
extends SdkPojo, CopyableBuilder<JobRunAsUser.Builder,JobRunAsUser>
-
Method Summary
Modifier and TypeMethodDescriptiondefault JobRunAsUser.Builder
posix
(Consumer<PosixUser.Builder> posix) The user and group that the jobs in the queue run as.The user and group that the jobs in the queue run as.Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.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.Builder
windows
(Consumer<WindowsUser.Builder> windows) Identifies a Microsoft Windows user.windows
(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, sdkFieldNameToField, sdkFields
-
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 thePosixUser.Builder
avoiding the need to create one manually viaPosixUser.builder()
.When the
Consumer
completes,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:
-
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 theWindowsUser.Builder
avoiding the need to create one manually viaWindowsUser.builder()
.When the
Consumer
completes,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:
-
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:
-