All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.searchbox.indices.template.DeleteTemplate Maven / Gradle / Ivy

There is a newer version: 6.3.1
Show newest version
package io.searchbox.indices.template;

/**
 * @author asierdelpozo
 * @author cihat keser
 */
public class DeleteTemplate extends TemplateAction {

    protected DeleteTemplate(Builder builder) {
        super(builder);
        setURI(buildURI());
    }

    @Override
    public String getRestMethodName() {
        return "DELETE";
    }

    public static class Builder extends TemplateAction.Builder {

        public Builder(String template) {
            super(template);
        }

        @Override
        public DeleteTemplate build() {
            return new DeleteTemplate(this);
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy