public EventArgs build() {
            $.apiVersion = Codegen.stringProp("apiVersion").output().arg($.apiVersion).getNullable();
            if ($.involvedObject == null) {
                throw new MissingRequiredPropertyException("EventArgs", "involvedObject");
            }
            $.kind = Codegen.stringProp("kind").output().arg($.kind).getNullable();
            if ($.metadata == null) {
                throw new MissingRequiredPropertyException("EventArgs", "metadata");
            }
            return $;
        }
@param type Type of this event (Normal, Warning), new types could be added in the future

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/EventArgs.java