@property<EOL><INDENT>def access_modes(self):<DEDENT>
return self._access_modes<EOL>
Gets 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

:return: The access_modes of this V1PersistentVolumeSpec.
:rtype: list[str]