@spec.setter<EOL><INDENT>def spec(self, spec):<DEDENT>
self._spec = spec<EOL>
Sets the spec of this V2beta1HorizontalPodAutoscaler.
spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.

:param spec: The spec of this V2beta1HorizontalPodAutoscaler.
:type: V2beta1HorizontalPodAutoscalerSpec