public void setEntityPath(java.util.Collection<ErrorRootCauseEntity> entityPath) {
        if (entityPath == null) {
            this.entityPath = null;
            return;
        }

        this.entityPath = new java.util.ArrayList<ErrorRootCauseEntity>(entityPath);
    }
<p>
The path of root cause entities found on the service.
</p>

@param entityPath
       The path of root cause entities found on the service.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/ErrorRootCauseService.java