public ResourceSliceArgs build() {
            $.apiVersion = Codegen.stringProp("apiVersion").output().arg($.apiVersion).getNullable();
            if ($.driverName == null) {
                throw new MissingRequiredPropertyException("ResourceSliceArgs", "driverName");
            }
            $.kind = Codegen.stringProp("kind").output().arg($.kind).getNullable();
            return $;
        }
@param nodeName 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.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha2/ResourceSliceArgs.java