Class NFSVolumeSource.Builder

  • Enclosing class:
    NFSVolumeSource

    public static class NFSVolumeSource.Builder
    extends java.lang.Object
    • Method Detail

      • path

        public NFSVolumeSource.Builder path​(@NonNull
                                            @NonNull java.lang.String path)
        path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
        Returns:
        this.
      • readOnly

        public NFSVolumeSource.Builder readOnly​(java.lang.Boolean readOnly)
        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:
        this.
      • server

        public NFSVolumeSource.Builder server​(@NonNull
                                              @NonNull java.lang.String server)
        server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object