public Optional<ValidatingAdmissionPolicySpec> spec() {
        return Optional.ofNullable(this.spec);
    }
@return Specification of the desired behavior of the ValidatingAdmissionPolicy.
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1beta1/outputs/ValidatingAdmissionPolicy.java