Class ExistsComponentTemplateRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.cluster.ExistsComponentTemplateRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExistsComponentTemplateRequest>
- Enclosing class:
- ExistsComponentTemplateRequest
public static class ExistsComponentTemplateRequest.Builder extends java.lang.Object implements ObjectBuilder<ExistsComponentTemplateRequest>
Builder for
ExistsComponentTemplateRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExistsComponentTemplateRequest.BuilderaddName(java.lang.String value)Add a value toname(List), creating the list if needed.ExistsComponentTemplateRequestbuild()Builds aExistsComponentTemplateRequest.ExistsComponentTemplateRequest.Builderlocal(java.lang.Boolean value)If true, the request retrieves information from the local node only.ExistsComponentTemplateRequest.BuildermasterTimeout(java.lang.String value)Period to wait for a connection to the master node.ExistsComponentTemplateRequest.Buildername(java.lang.String... value)Required - Comma-separated list of component template names used to limit the request.ExistsComponentTemplateRequest.Buildername(java.util.List<java.lang.String> value)Required - Comma-separated list of component template names used to limit the request.Methods 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
Required - Comma-separated list of component template names used to limit the request. Wildcard (*) expressions are supported.API name:
name -
name
Required - Comma-separated list of component template names used to limit the request. Wildcard (*) expressions are supported.API name:
name -
addName
Add a value toname(List), creating the list if needed. -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
local
If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.API name:
local -
build
Builds aExistsComponentTemplateRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsComponentTemplateRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-