Class JobRunAs


  • @Generated
    public class JobRunAs
    extends Object
    Write-only setting, available only in Create/Update/Reset and Submit calls. Specifies the user or service principal that the job runs as. If not specified, the job runs as the user who created the job.

    Only `user_name` or `service_principal_name` can be specified. If both are specified, an error is thrown.

    • Constructor Detail

      • JobRunAs

        public JobRunAs()
    • Method Detail

      • setServicePrincipalName

        public JobRunAs setServicePrincipalName​(String servicePrincipalName)
      • getServicePrincipalName

        public String getServicePrincipalName()
      • getUserName

        public String getUserName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object