Class IoK8sApiCoreV1NFSVolumeSource


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1NFSVolumeSource
    extends Object
    Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
    • Constructor Detail

      • IoK8sApiCoreV1NFSVolumeSource

        public IoK8sApiCoreV1NFSVolumeSource()
    • Method Detail

      • getPath

        public String getPath()
        Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
        Returns:
        path
      • setPath

        public void setPath​(String path)
      • getReadOnly

        @Nullable
        public Boolean getReadOnly()
        ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
        Returns:
        readOnly
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
      • getServer

        public String getServer()
        Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
        Returns:
        server
      • setServer

        public void setServer​(String server)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object