public EventArgs build() {
            $.apiVersion = Codegen.stringProp("apiVersion").output().arg($.apiVersion).getNullable();
            if ($.eventTime == null) {
                throw new MissingRequiredPropertyException("EventArgs", "eventTime");
            }
            $.kind = Codegen.stringProp("kind").output().arg($.kind).getNullable();
            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/events/v1beta1/EventArgs.java