io.searchbox.snapshot.DeleteSnapshot Maven / Gradle / Ivy
package io.searchbox.snapshot;
/**
* @author happyprg([email protected])
*/
public class DeleteSnapshot extends AbstractSnapshotAction {
protected DeleteSnapshot(Builder builder) {
super(builder);
}
@Override
public String getRestMethodName() {
return "DELETE";
}
public static class Builder extends AbstractSnapshotAction.SingleSnapshotBuilder {
public Builder(String repository, String snapshot) {
super(repository, snapshot);
}
@Override
public DeleteSnapshot build() {
return new DeleteSnapshot(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy