public Output<PodSecurityPolicySpec> spec() {
        return this.spec;
    }
@return spec defines the policy enforced.
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/PodSecurityPolicy.java