code: public void setIntents(java.util.Collection<IntentMetadata> intents) {
          if (intents == null) {
              this.intents = null;
              return;
          }
  
          this.intents = new java.util.ArrayList<IntentMetadata>(intents);
      }
docs: <p>
  An array of <code>Intent</code> objects. For more information, see <a>PutBot</a>.
  </p>
  
  @param intents
  An array of <code>Intent</code> objects. For more information, see <a>PutBot</a>.