code: public AwsSecurityFindingFilters withResourcePartition(StringFilter... resourcePartition) {
          if (this.resourcePartition == null) {
              setResourcePartition(new java.util.ArrayList<StringFilter>(resourcePartition.length));
          }
          for (StringFilter ele : resourcePartition) {
              this.resourcePartition.add(ele);
          }
          return this;
      }
docs: <p>
  The canonical AWS partition name to which the region is assigned.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourcePartition(java.util.Collection)} or {@link #withResourcePartition(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param resourcePartition
  The canonical AWS partition name to which the region is assigned.
  @return Returns a reference to this object so that method calls can be chained together.