Class VLookupBuilder

    • Method Detail

      • setAttributeName

        public VLookupBuilder setAttributeName​(String attributeName)
        Set new attribute for the VLookupBuilder instance.

        Example:

         api.inputBuilderFactory()
              .createVLookup("lookup")
              .setAttributeName("myFavoriteLookup")
              .setKeys([KEY1: "key1", KEY2: "key2"])
              .buildContextParameter()
         
        Parameters:
        attributeName - name of the attribute, as a String
        Returns:
        self
      • setAttributeNames

        public VLookupBuilder setAttributeNames​(List<String> attributeNames)
        Set new list of the attributes for the VLookupBuilder instance.

        Example:

         api.inputBuilderFactory()
              .createVLookup("lookup")
              .setAttributeNames(["name1", "name2"])
              .setKeys([KEY1: "key1", KEY2: "key2"])
              .buildContextParameter()
         
        Parameters:
        attributeNames - names of the attributes, as a List
        Returns:
        self
      • setKeys

        public VLookupBuilder setKeys​(Map keys)
        Set Map of keys for the VLookupBuilder instance.

        Example:

         api.inputBuilderFactory()
              .createVLookup("lookup")
              .setAttributeNames(["name1", "name2"])
              .setKeys([KEY1: "key1", KEY2: "key2"])
              .buildContextParameter()
         
        Parameters:
        keys - keys to be set, as a Map
        Returns:
        self