code: public CreateFlowLogsRequest withResourceIds(String... resourceIds) {
          if (this.resourceIds == null) {
              setResourceIds(new com.amazonaws.internal.SdkInternalList<String>(resourceIds.length));
          }
          for (String ele : resourceIds) {
              this.resourceIds.add(ele);
          }
          return this;
      }
docs: <p>
  The ID of the subnet, network interface, or VPC for which you want to create a flow log.
  </p>
  <p>
  Constraints: Maximum of 1000 resources
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceIds(java.util.Collection)} or {@link #withResourceIds(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param resourceIds
  The ID of the subnet, network interface, or VPC for which you want to create a flow log.</p>
  <p>
  Constraints: Maximum of 1000 resources
  @return Returns a reference to this object so that method calls can be chained together.