Package org.elasticsearch.client.enrich
Class PutPolicyRequest
- java.lang.Object
-
- org.elasticsearch.client.enrich.PutPolicyRequest
-
- All Implemented Interfaces:
Validatable,ToXContent,ToXContentObject
public final class PutPolicyRequest extends Object implements Validatable, ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getEnrichFields()List<String>getIndices()StringgetMatchField()StringgetName()BytesReferencegetQuery()StringgetType()inthashCode()voidsetQuery(BytesReference query)voidsetQuery(QueryBuilder query)XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
-
-
-
Method Detail
-
getName
public String getName()
-
getType
public String getType()
-
getQuery
public BytesReference getQuery()
-
setQuery
public void setQuery(BytesReference query)
-
setQuery
public void setQuery(QueryBuilder query) throws IOException
- Throws:
IOException
-
getMatchField
public String getMatchField()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-