Class GetPolicyRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetPolicyRequest.Builder>
co.elastic.clients.elasticsearch.enrich.GetPolicyRequest.Builder
- All Implemented Interfaces:
WithJson<GetPolicyRequest.Builder>,ObjectBuilder<GetPolicyRequest>
- Enclosing class:
- GetPolicyRequest
public static class GetPolicyRequest.Builder extends RequestBase.AbstractBuilder<GetPolicyRequest.Builder> implements ObjectBuilder<GetPolicyRequest>
Builder for
GetPolicyRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetPolicyRequestbuild()Builds aGetPolicyRequest.GetPolicyRequest.Buildername(java.lang.String value, java.lang.String... values)A comma-separated list of enrich policy namesGetPolicyRequest.Buildername(java.util.List<java.lang.String> list)A comma-separated list of enrich policy namesprotected GetPolicyRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
A comma-separated list of enrich policy namesAPI name:
nameAdds all elements of
listtoname. -
name
A comma-separated list of enrich policy namesAPI name:
nameAdds one or more values to
name. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetPolicyRequest.Builder>
-
build
Builds aGetPolicyRequest.- Specified by:
buildin interfaceObjectBuilder<GetPolicyRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-