public Event build() {
            final var _resultValue = new Event();
            _resultValue.action = action;
            _resultValue.apiVersion = apiVersion;
            _resultValue.deprecatedCount = deprecatedCount;
            _resultValue.deprecatedFirstTimestamp = deprecatedFirstTimestamp;
            _resultValue.deprecatedLastTimestamp = deprecatedLastTimestamp;
            _resultValue.deprecatedSource = deprecatedSource;
            _resultValue.eventTime = eventTime;
            _resultValue.kind = kind;
            _resultValue.metadata = metadata;
            _resultValue.note = note;
            _resultValue.reason = reason;
            _resultValue.regarding = regarding;
            _resultValue.related = related;
            _resultValue.reportingController = reportingController;
            _resultValue.reportingInstance = reportingInstance;
            _resultValue.series = series;
            _resultValue.type = type;
            return _resultValue;
        }
@return type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
sdk/java/src/main/java/com/pulumi/kubernetes/events/v1/outputs/Event.java