code: public TrustedAdvisorResourceDetail withMetadata(String... metadata) {
          if (this.metadata == null) {
              setMetadata(new com.amazonaws.internal.SdkInternalList<String>(metadata.length));
          }
          for (String ele : metadata) {
              this.metadata.add(ele);
          }
          return this;
      }
docs: <p>
  Additional information about the identified resource. The exact metadata and its order can be obtained by
  inspecting the <a>TrustedAdvisorCheckDescription</a> object returned by the call to
  <a>DescribeTrustedAdvisorChecks</a>. <b>Metadata</b> contains all the data that is shown in the Excel download,
  even in those cases where the UI shows just summary data.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setMetadata(java.util.Collection)} or {@link #withMetadata(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param metadata
  Additional information about the identified resource. The exact metadata and its order can be obtained by
  inspecting the <a>TrustedAdvisorCheckDescription</a> object returned by the call to
  <a>DescribeTrustedAdvisorChecks</a>. <b>Metadata</b> contains all the data that is shown in the Excel
  download, even in those cases where the UI shows just summary data.
  @return Returns a reference to this object so that method calls can be chained together.