@CustomType.Setter
        public Builder metadata(ObjectMeta metadata) {
            if (metadata == null) {
              throw new MissingRequiredPropertyException("Event", "metadata");
            }
            this.metadata = metadata;
            return this;
        }
@return Type of this event (Normal, Warning), new types could be added in the future
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/Event.java