public CreateConnectPeerResult withConnectPeer(ConnectPeer connectPeer) {
        setConnectPeer(connectPeer);
        return this;
    }
<p>
The response to the request.
</p>

@param connectPeer
       The response to the request.
@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/CreateConnectPeerResult.java