public Optional<String> nodeName() {
        return Optional.ofNullable(this.nodeName);
    }
@return NodeName identifies the node which provides the resources if they are local to a node.

A field selector can be used to list only ResourceSlice objects with a certain node name.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha2/outputs/ResourceSlice.java