@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRunAsUser extends Object implements Serializable, Cloneable, StructuredPojo
Identifies the user for a job.
Constructor and Description |
---|
JobRunAsUser() |
Modifier and Type | Method and Description |
---|---|
JobRunAsUser |
clone() |
boolean |
equals(Object obj) |
PosixUser |
getPosix()
The user and group that the jobs in the queue run as.
|
String |
getRunAs()
Specifies whether the job should run using the queue's system user or if the job should run using the worker
agent system user.
|
WindowsUser |
getWindows()
Identifies a Microsoft Windows user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPosix(PosixUser posix)
The user and group that the jobs in the queue run as.
|
void |
setRunAs(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.
|
void |
setWindows(WindowsUser windows)
Identifies a Microsoft Windows user.
|
String |
toString()
Returns a string representation of this object.
|
JobRunAsUser |
withPosix(PosixUser posix)
The user and group that the jobs in the queue run as.
|
JobRunAsUser |
withRunAs(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.
|
JobRunAsUser |
withRunAs(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 |
withWindows(WindowsUser windows)
Identifies a Microsoft Windows user.
|
public void setPosix(PosixUser posix)
The user and group that the jobs in the queue run as.
posix
- The user and group that the jobs in the queue run as.public PosixUser getPosix()
The user and group that the jobs in the queue run as.
public JobRunAsUser withPosix(PosixUser posix)
The user and group that the jobs in the queue run as.
posix
- The user and group that the jobs in the queue run as.public void setRunAs(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
- 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
public String getRunAs()
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
public JobRunAsUser withRunAs(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
- 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
public JobRunAsUser withRunAs(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.
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
public void setWindows(WindowsUser windows)
Identifies a Microsoft Windows user.
windows
- Identifies a Microsoft Windows user.public WindowsUser getWindows()
Identifies a Microsoft Windows user.
public JobRunAsUser withWindows(WindowsUser windows)
Identifies a Microsoft Windows user.
windows
- Identifies a Microsoft Windows user.public String toString()
toString
in class Object
Object.toString()
public JobRunAsUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.