Class CSINodeDriver.Builder

  • Enclosing class:
    CSINodeDriver

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

      • name

        public CSINodeDriver.Builder name​(@NonNull
                                          @NonNull java.lang.String name)
        This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
        Returns:
        this.
      • nodeID

        public CSINodeDriver.Builder nodeID​(@NonNull
                                            @NonNull java.lang.String nodeID)
        nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
        Returns:
        this.
      • addToTopologyKeys

        public CSINodeDriver.Builder addToTopologyKeys​(java.lang.String addToTopologyKeys)
      • topologyKeys

        public CSINodeDriver.Builder topologyKeys​(java.util.Collection<? extends java.lang.String> topologyKeys)
      • toString

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