@Override
    public RejectInboundConnectionResult rejectInboundConnection(RejectInboundConnectionRequest request) {
        request = beforeClientExecution(request);
        return executeRejectInboundConnection(request);
    }
<p>
Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
</p>

@param rejectInboundConnectionRequest
       Container for the request parameters to the <code>RejectInboundConnection</code> operation.
@return Result of the RejectInboundConnection operation returned by the service.
@throws ResourceNotFoundException
        An exception for accessing or deleting a resource that doesn't exist.
@throws DisabledOperationException
        An error occured because the client wanted to access an unsupported operation.
@sample AmazonOpenSearch.RejectInboundConnection
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/AmazonOpenSearchClient.java