public Builder spec(@Nullable Output<PodSecurityPolicySpecArgs> spec) {
            $.spec = spec;
            return this;
        }
@param spec spec defines the policy enforced.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/PodSecurityPolicyArgs.java