public ResourceSliceSpecPatch build() {
            final var _resultValue = new ResourceSliceSpecPatch();
            _resultValue.allNodes = allNodes;
            _resultValue.devices = devices;
            _resultValue.driver = driver;
            _resultValue.nodeName = nodeName;
            _resultValue.nodeSelector = nodeSelector;
            _resultValue.perDeviceNodeSelection = perDeviceNodeSelection;
            _resultValue.pool = pool;
            _resultValue.sharedCounters = sharedCounters;
            return _resultValue;
        }
@return SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.

The names of the SharedCounters must be unique in the ResourceSlice.

The maximum number of SharedCounters is 32.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha3/outputs/ResourceSliceSpecPatch.java