.directory("java-client")
.acl("private")
.deliveryFrequency(0)
.maxSize(10485760)
.filePrefix("DataSiftJava-");
PushValidation pv = datasift.push().validate(s3).sync();
successful(pv);
String name = "Java push name", updatedName = name += " updated";
PushSubscription subscription =
stream != null ? datasift.push().create(s3, stream, name).sync()
: datasift.push().create(s3, query, name).sync();