code: public void setTerms(java.util.Collection<Term> terms) {
          if (terms == null) {
              this.terms = null;
              return;
          }
  
          this.terms = new java.util.ArrayList<Term>(terms);
      }
docs: <p>
  The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated
  text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250
  terms in the source text.
  </p>
  
  @param terms
  The specific terms of the custom terminology applied to the input text by Amazon Translate for the
  translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be
  the first 250 terms in the source text.