public SecurityContext build() {
            final var _resultValue = new SecurityContext();
            _resultValue.allowPrivilegeEscalation = allowPrivilegeEscalation;
            _resultValue.appArmorProfile = appArmorProfile;
            _resultValue.capabilities = capabilities;
            _resultValue.privileged = privileged;
            _resultValue.procMount = procMount;
            _resultValue.readOnlyRootFilesystem = readOnlyRootFilesystem;
            _resultValue.runAsGroup = runAsGroup;
            _resultValue.runAsNonRoot = runAsNonRoot;
            _resultValue.runAsUser = runAsUser;
            _resultValue.seLinuxOptions = seLinuxOptions;
            _resultValue.seccompProfile = seccompProfile;
            _resultValue.windowsOptions = windowsOptions;
            return _resultValue;
        }
@return The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/SecurityContext.java