@access_modes.setter<EOL><INDENT>def access_modes(self, access_modes):<DEDENT>
self._access_modes = access_modes<EOL>
Sets the access_modes of this V1PersistentVolumeSpec.
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

:param access_modes: The access_modes of this V1PersistentVolumeSpec.
:type: list[str]