public String getUserName() {
        return this.userName;
    }
<p>
The username of an alternate account to use to enable single-sign on. This is only used for AD Connector
directories. This account must have privileges to add a service principal name.
</p>
<p>
If the AD Connector service account does not have privileges to add a service principal name, you can specify an
alternate account with the <i>UserName</i> and <i>Password</i> parameters. These credentials are only used to
enable single sign-on and are not stored by the service. The AD Connector service account is not changed.
</p>

@return The username of an alternate account to use to enable single-sign on. This is only used for AD Connector
        directories. This account must have privileges to add a service principal name.</p>
        <p>
        If the AD Connector service account does not have privileges to add a service principal name, you can
        specify an alternate account with the <i>UserName</i> and <i>Password</i> parameters. These credentials
        are only used to enable single sign-on and are not stored by the service. The AD Connector service
        account is not changed.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/EnableSsoRequest.java