public AccessPreviewFinding withPrincipal(java.util.Map<String, String> principal) {
        setPrincipal(principal);
        return this;
    }
<p>
The external principal that has access to a resource within the zone of trust.
</p>

@param principal
       The external principal that has access to a resource within the zone of trust.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/AccessPreviewFinding.java