parameters: (self, analyst, rating)
docstring: Set Indicator confidence.
  
          :param analyst: The user setting the confidence.
          :type analyst: str
          :param rating: The level of confidence.
          :type rating: str ("unknown", "benign", "low", "medium", "high")
docstring_summary: Set Indicator confidence.
docstring_tokens: Set Indicator confidence .
function: def set_confidence(self, analyst, rating):
          """
          Set Indicator confidence.
  
          :param analyst: The user setting the confidence.
          :type analyst: str
          :param rating: The level of confidence.
          :type rating: str ("unknown", "benign", "low", "medium", "high")
          """
  
          ec = EmbeddedConfidence()
          ec.analyst = analyst
          ec.rating = rating
          self.confidence = ec
function_tokens: def set_confidence ( self , analyst , rating ) : ec = EmbeddedConfidence ( ) ec . analyst = analyst ec . rating = rating self . confidence = ec