public Policy build() {
            final var _resultValue = new Policy();
            _resultValue.level = level;
            _resultValue.stages = stages;
            return _resultValue;
        }
@return Stages is a list of stages for which events are created.
sdk/java/src/main/java/com/pulumi/kubernetes/auditregistration/v1alpha1/outputs/Policy.java