public DeleteInboundConnectionResult withConnection(InboundConnection connection) {
        setConnection(connection);
        return this;
    }
<p>
The deleted inbound connection.
</p>

@param connection
       The deleted inbound connection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DeleteInboundConnectionResult.java