code: public CreateSampleFindingsRequest withFindingTypes(String... findingTypes) {
          if (this.findingTypes == null) {
              setFindingTypes(new java.util.ArrayList<String>(findingTypes.length));
          }
          for (String ele : findingTypes) {
              this.findingTypes.add(ele);
          }
          return this;
      }
docs: Types of sample findings that you want to generate.
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setFindingTypes(java.util.Collection)} or {@link #withFindingTypes(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param findingTypes
  Types of sample findings that you want to generate.
  @return Returns a reference to this object so that method calls can be chained together.