com.hp.autonomy.hod.client.api.textindex.CreateTextIndexRequestBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-hod-client Show documentation
Show all versions of java-hod-client Show documentation
Java Client for communicating with HP Haven OnDemand
/*
* Copyright 2015-2016 Hewlett-Packard Development Company, L.P.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
package com.hp.autonomy.hod.client.api.textindex;
import com.hp.autonomy.hod.client.util.MultiMap;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Map;
/**
* Request builder for the CreateTextIndex API
*/
@Data
@Accessors(chain = true)
public class CreateTextIndexRequestBuilder {
/**
* @param description Value for the description parameter
*/
private String description;
/**
* @return A map of query parameters suitable for use with {@link CreateTextIndexBackend}. get is NOT supported on
* the resulting map
*/
Map build() {
final Map map = new MultiMap<>();
map.put("description", description);
return map;
}
}