public PodSecurityPolicySpec build() {
            final var _resultValue = new PodSecurityPolicySpec();
            _resultValue.allowPrivilegeEscalation = allowPrivilegeEscalation;
            _resultValue.allowedCSIDrivers = allowedCSIDrivers;
            _resultValue.allowedCapabilities = allowedCapabilities;
            _resultValue.allowedFlexVolumes = allowedFlexVolumes;
            _resultValue.allowedHostPaths = allowedHostPaths;
            _resultValue.allowedProcMountTypes = allowedProcMountTypes;
            _resultValue.allowedUnsafeSysctls = allowedUnsafeSysctls;
            _resultValue.defaultAddCapabilities = defaultAddCapabilities;
            _resultValue.defaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation;
            _resultValue.forbiddenSysctls = forbiddenSysctls;
            _resultValue.fsGroup = fsGroup;
            _resultValue.hostIPC = hostIPC;
            _resultValue.hostNetwork = hostNetwork;
            _resultValue.hostPID = hostPID;
            _resultValue.hostPorts = hostPorts;
            _resultValue.privileged = privileged;
            _resultValue.readOnlyRootFilesystem = readOnlyRootFilesystem;
            _resultValue.requiredDropCapabilities = requiredDropCapabilities;
            _resultValue.runAsGroup = runAsGroup;
            _resultValue.runAsUser = runAsUser;
            _resultValue.runtimeClass = runtimeClass;
            _resultValue.seLinux = seLinux;
            _resultValue.supplementalGroups = supplementalGroups;
            _resultValue.volumes = volumes;
            return _resultValue;
        }
@return 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;.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/outputs/PodSecurityPolicySpec.java