public CreateUserRequest withApiAccessPrincipalArn(String apiAccessPrincipalArn) {
        setApiAccessPrincipalArn(apiAccessPrincipalArn);
        return this;
    }
<p>
The ARN identifier of an AWS user or role that is allowed to call the
<code>GetProgrammaticAccessCredentials</code> API to obtain a credentials token for a specific FinSpace user.
This must be an IAM role within your FinSpace account.
</p>

@param apiAccessPrincipalArn
       The ARN identifier of an AWS user or role that is allowed to call the
       <code>GetProgrammaticAccessCredentials</code> API to obtain a credentials token for a specific FinSpace
       user. This must be an IAM role within your FinSpace account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/CreateUserRequest.java