public UpdateDirectConnectGatewayAssociationRequest withAddAllowedPrefixesToDirectConnectGateway(
            java.util.Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway) {
        setAddAllowedPrefixesToDirectConnectGateway(addAllowedPrefixesToDirectConnectGateway);
        return this;
    }
<p>
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
</p>

@param addAllowedPrefixesToDirectConnectGateway
       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.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/UpdateDirectConnectGatewayAssociationRequest.java