code: def setAutoscaledNodeTypes(self, nodeTypes):
          
          self._spotBidsMap = {}
          self.nodeShapes = []
          self.nodeTypes = []
          for nodeTypeStr in nodeTypes:
              nodeBidTuple = nodeTypeStr.split(":")
              if len(nodeBidTuple) == 2:
                  # This is a preemptable node type, with a spot bid
                  nodeType, bid = nodeBidTuple
                  self.nodeTypes.append(nodeType)
                  self.nodeShapes.append(self.getNodeShape(nodeType, preemptable=True))
                  self._spotBidsMap[nodeType] = bid
              else:
                  self.nodeTypes.append(nodeTypeStr)
                  self.nodeShapes.append(self.getNodeShape(nodeTypeStr, preemptable=False))
docs: Set node types, shapes and spot bids. Preemptable nodes will have the form "type:spotBid".
          :param nodeTypes: A list of node types