public String getPrincipalType() {
        return this.principalType;
    }
<p>
The type of principal.
</p>

@return The type of principal.
@see PrincipalType
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/AuthorizedPrincipal.java