public Optional<Integer> observedGeneration() {
        return Optional.ofNullable(this.observedGeneration);
    }
@return observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet&#39;s generation, which is updated on mutation by the API Server.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1/outputs/StatefulSetStatus.java