httpMethod.setEntity(new StringEntity(
builder.asString(null),
ContentType.create("text/xml", Constants.DEFAULT_ENCODING)));
HttpResponse response = performRestRequest(httpMethod, 201);
OriginAccessIdentityHandler handler =
(new CloudFrontXmlResponsesSaxParser(this.jets3tProperties))
.parseOriginAccessIdentity(response.getEntity().getContent());
return handler.getOriginAccessIdentity();
}
catch(CloudFrontServiceException e) {
throw e;
}
catch(RuntimeException e) {