@CustomType.Setter
        public Builder desiredReplicas(Integer desiredReplicas) {
            if (desiredReplicas == null) {
              throw new MissingRequiredPropertyException("HorizontalPodAutoscalerStatus", "desiredReplicas");
            }
            this.desiredReplicas = desiredReplicas;
            return this;
        }
@return observedGeneration is the most recent generation observed by this autoscaler.
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/outputs/HorizontalPodAutoscalerStatus.java