public ReplicationLinkInner get(String resourceGroupName, String serverName, String databaseName, String linkId) {
        return getWithServiceResponseAsync(resourceGroupName, serverName, databaseName, linkId).toBlocking().single().body();
    }
public ReplicationLinkInner get ( String resourceGroupName , String serverName , String databaseName , String linkId ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName , linkId ) . toBlocking ( ) . single ( ) . body ( ) ; }
Gets a database replication link.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param serverName The name of the server.
@param databaseName The name of the database to get the link for.
@param linkId The replication link ID to be retrieved.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the ReplicationLinkInner object if successful.