public Optional<String> type() {
        return Optional.ofNullable(this.type);
    }
@return Type of this event (Normal, Warning), new types could be added in the future.
sdk/java/src/main/java/com/pulumi/kubernetes/events/v1beta1/outputs/Event.java