public CreatePublicVirtualInterfaceResult withBgpPeers(java.util.Collection<BGPPeer> bgpPeers) {
        setBgpPeers(bgpPeers);
        return this;
    }
<p>
The BGP peers configured on this virtual interface.
</p>

@param bgpPeers
       The BGP peers configured on this virtual interface.
@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/CreatePublicVirtualInterfaceResult.java