public Output<ResourceSliceSpec> spec() {
        return this.spec;
    }
@return Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta1/ResourceSlice.java