ContentType.create("text/xml", Constants.DEFAULT_ENCODING)));
httpMethod.setHeader("If-Match", oldConfig.getEtag());
HttpResponse response = performRestRequest(httpMethod, 200);
OriginAccessIdentityConfigHandler handler =
(new CloudFrontXmlResponsesSaxParser(this.jets3tProperties))
.parseOriginAccessIdentityConfig(response.getEntity().getContent());
OriginAccessIdentityConfig config = handler.getOriginAccessIdentityConfig();
config.setEtag(response.getFirstHeader("ETag").getValue());
return config;