public Builder spec(HorizontalPodAutoscalerSpecArgs spec) {
            return spec(Output.of(spec));
        }
@param spec spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

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