public Content fromMultiModalData(Object... multiModalData) {
      return fromMultiModalDataWithRole(role, multiModalData);
    }
Creates a content from an array of Objects.

@param multiModalData an array which contains the actual payload of each part. The element
    could be either a single String or a Part. When it's a single string, it's converted to a
    {@link com.google.cloud.vertexai.api.Part} that has the Text field set.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/ContentMaker.java