public ResourcePool build() {
            final var _resultValue = new ResourcePool();
            _resultValue.generation = generation;
            _resultValue.name = name;
            _resultValue.resourceSliceCount = resourceSliceCount;
            return _resultValue;
        }
@return ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.

Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta1/outputs/ResourcePool.java