public Optional<Integer> templateGeneration() {
        return Optional.ofNullable(this.templateGeneration);
    }
@return DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/outputs/DaemonSetSpec.java