public void setBgpPeers(java.util.Collection<BGPPeer> bgpPeers) {
        if (bgpPeers == null) {
            this.bgpPeers = null;
            return;
        }

        this.bgpPeers = new com.amazonaws.internal.SdkInternalList<BGPPeer>(bgpPeers);
    }
<p>
The BGP peers configured on this virtual interface.
</p>

@param bgpPeers
       The BGP peers configured on this virtual interface.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/AllocatePrivateVirtualInterfaceResult.java