public void setUserIdentity(UserIdentity userIdentity) {
        this.userIdentity = userIdentity;
    }
<p>
The type and other characteristics of the entity that performed the action on the affected resource. This value
is null if the action was performed by an anonymous (unauthenticated) entity.
</p>

@param userIdentity
       The type and other characteristics of the entity that performed the action on the affected resource. This
       value is null if the action was performed by an anonymous (unauthenticated) entity.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/FindingActor.java