public Optional<Output<Boolean>> allNodes() {
        return Optional.ofNullable(this.allNodes);
    }
@return AllNodes indicates that all nodes have access to the resources in the pool.

Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta2/inputs/ResourceSliceSpecPatchArgs.java