public HorizontalPodAutoscalerSpecArgs build() {
            if ($.maxReplicas == null) {
                throw new MissingRequiredPropertyException("HorizontalPodAutoscalerSpecArgs", "maxReplicas");
            }
            if ($.scaleTargetRef == null) {
                throw new MissingRequiredPropertyException("HorizontalPodAutoscalerSpecArgs", "scaleTargetRef");
            }
            return $;
        }
@param targetCPUUtilizationPercentage targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v1/inputs/HorizontalPodAutoscalerSpecArgs.java