public ConnectPeerConfiguration withBgpConfigurations(java.util.Collection<ConnectPeerBgpConfiguration> bgpConfigurations) {
        setBgpConfigurations(bgpConfigurations);
        return this;
    }
<p>
The Connect peer BGP configurations.
</p>

@param bgpConfigurations
       The Connect peer BGP configurations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/ConnectPeerConfiguration.java