code: public DirectConnectGatewayAssociationProposal withRequestedAllowedPrefixesToDirectConnectGateway(
              RouteFilterPrefix... requestedAllowedPrefixesToDirectConnectGateway) {
          if (this.requestedAllowedPrefixesToDirectConnectGateway == null) {
              setRequestedAllowedPrefixesToDirectConnectGateway(new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>(
                      requestedAllowedPrefixesToDirectConnectGateway.length));
          }
          for (RouteFilterPrefix ele : requestedAllowedPrefixesToDirectConnectGateway) {
              this.requestedAllowedPrefixesToDirectConnectGateway.add(ele);
          }
          return this;
      }
docs: <p>
  The Amazon VPC prefixes to advertise to the Direct Connect gateway.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRequestedAllowedPrefixesToDirectConnectGateway(java.util.Collection)} or
  {@link #withRequestedAllowedPrefixesToDirectConnectGateway(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param requestedAllowedPrefixesToDirectConnectGateway
  The Amazon VPC prefixes to advertise to the Direct Connect gateway.
  @return Returns a reference to this object so that method calls can be chained together.