public HorizontalPodAutoscalerStatusArgs build() {
            if ($.desiredReplicas == null) {
                throw new MissingRequiredPropertyException("HorizontalPodAutoscalerStatusArgs", "desiredReplicas");
            }
            return $;
        }
@param observedGeneration observedGeneration is the most recent generation observed by this autoscaler.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/HorizontalPodAutoscalerStatusArgs.java