code: public CreatePublicVirtualInterfaceResult withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes) {
          if (this.routeFilterPrefixes == null) {
              setRouteFilterPrefixes(new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>(routeFilterPrefixes.length));
          }
          for (RouteFilterPrefix ele : routeFilterPrefixes) {
              this.routeFilterPrefixes.add(ele);
          }
          return this;
      }
docs: <p>
  The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRouteFilterPrefixes(java.util.Collection)} or {@link #withRouteFilterPrefixes(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param routeFilterPrefixes
  The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
  @return Returns a reference to this object so that method calls can be chained together.