Class JobRunAsUser
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.JobRunAsUser
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobRunAsUser.Builder,JobRunAsUser>
@Generated("software.amazon.awssdk:codegen") public final class JobRunAsUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobRunAsUser.Builder,JobRunAsUser>
Identifies the user for a job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobRunAsUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobRunAsUser.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PosixUserposix()The user and group that the jobs in the queue run as.RunAsrunAs()Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.StringrunAsAsString()Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.List<SdkField<?>>sdkFields()static Class<? extends JobRunAsUser.Builder>serializableBuilderClass()JobRunAsUser.BuildertoBuilder()StringtoString()Returns a string representation of this object.WindowsUserwindows()Identifies a Microsoft Windows user.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
posix
public final PosixUser posix()
The user and group that the jobs in the queue run as.
- Returns:
- The user and group that the jobs in the queue run as.
-
runAs
public final 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.
If the service returns an enum value that is not available in the current SDK version,
runAswill returnRunAs.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunAsAsString().- Returns:
- Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.
- See Also:
RunAs
-
runAsAsString
public final String runAsAsString()
Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.
If the service returns an enum value that is not available in the current SDK version,
runAswill returnRunAs.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunAsAsString().- Returns:
- Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.
- See Also:
RunAs
-
windows
public final WindowsUser windows()
Identifies a Microsoft Windows user.
- Returns:
- Identifies a Microsoft Windows user.
-
toBuilder
public JobRunAsUser.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobRunAsUser.Builder,JobRunAsUser>
-
builder
public static JobRunAsUser.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobRunAsUser.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-