public PodSecurityPolicySpecArgs build() {
            if ($.fsGroup == null) {
                throw new MissingRequiredPropertyException("PodSecurityPolicySpecArgs", "fsGroup");
            }
            if ($.runAsUser == null) {
                throw new MissingRequiredPropertyException("PodSecurityPolicySpecArgs", "runAsUser");
            }
            if ($.seLinux == null) {
                throw new MissingRequiredPropertyException("PodSecurityPolicySpecArgs", "seLinux");
            }
            if ($.supplementalGroups == null) {
                throw new MissingRequiredPropertyException("PodSecurityPolicySpecArgs", "supplementalGroups");
            }
            return $;
        }
@param volumes volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use &#39;*&#39;.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/inputs/PodSecurityPolicySpecArgs.java