public String getPrincipal() {
        return this.principal;
    }
<p>
The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM
principal</a> that is allowed access to the domain.
</p>

@return The <a
        href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM
        principal</a> that is allowed access to the domain.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/AuthorizedPrincipal.java