{
List<ComplexResourceKey<ComplexArray, ComplexArray>> complexKeys = getBatchCompleKeys();
ComplexArrayRequestBuilders builders = new ComplexArrayRequestBuilders(options);
Request<BatchKVResponse<ComplexResourceKey<ComplexArray, ComplexArray>, EntityResponse<Greeting>>> request2 =
builders.batchGet().ids(complexKeys).build();
Response<BatchKVResponse<ComplexResourceKey<ComplexArray, ComplexArray>, EntityResponse<Greeting>>> response2 =
REST_CLIENT.sendRequest(request2).getResponse();
EntityResponse<Greeting> greeting1 = response2.getEntity().getResults().get(complexKeys.get(0));