@restart_policy.setter<EOL><INDENT>def restart_policy(self, restart_policy):<DEDENT>
self._restart_policy = restart_policy<EOL>
Sets the restart_policy of this V1PodSpec.
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

:param restart_policy: The restart_policy of this V1PodSpec.
:type: str