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