public HorizontalPodAutoscalerStatusPatch build() {
            final var _resultValue = new HorizontalPodAutoscalerStatusPatch();
            _resultValue.conditions = conditions;
            _resultValue.currentMetrics = currentMetrics;
            _resultValue.currentReplicas = currentReplicas;
            _resultValue.desiredReplicas = desiredReplicas;
            _resultValue.lastScaleTime = lastScaleTime;
            _resultValue.observedGeneration = observedGeneration;
            return _resultValue;
        }
@return observedGeneration is the most recent generation observed by this autoscaler.
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta1/outputs/HorizontalPodAutoscalerStatusPatch.java