Class GetPolicyRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.enrich.GetPolicyRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetPolicyRequest>
- Enclosing class:
- GetPolicyRequest
public static class GetPolicyRequest.Builder extends java.lang.Object implements ObjectBuilder<GetPolicyRequest>
Builder for
GetPolicyRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetPolicyRequest.Builder
addName(java.lang.String value)
Add a value toname(List)
, creating the list if needed.GetPolicyRequest
build()
Builds aGetPolicyRequest
.GetPolicyRequest.Builder
name(java.lang.String... value)
A comma-separated list of enrich policy namesGetPolicyRequest.Builder
name(java.util.List<java.lang.String> value)
A comma-separated list of enrich policy namesMethods 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:
name
-
name
A comma-separated list of enrich policy namesAPI name:
name
-
addName
Add a value toname(List)
, creating the list if needed. 4 -
build
Builds aGetPolicyRequest
.- Specified by:
build
in interfaceObjectBuilder<GetPolicyRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-