Class ExistsComponentTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.ExistsComponentTemplateRequest
public class ExistsComponentTemplateRequest extends RequestBase
Returns information about whether a particular component template exist
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExistsComponentTemplateRequest.BuilderBuilder forExistsComponentTemplateRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<ExistsComponentTemplateRequest,BooleanResponse,ErrorResponse>_ENDPOINTEndpoint "cluster.exists_component_template". -
Method Summary
Modifier and Type Method Description java.lang.Booleanlocal()If true, the request retrieves information from the local node only.TimemasterTimeout()Period to wait for a connection to the master node.java.util.List<java.lang.String>name()Required - Comma-separated list of component template names used to limit the request.static ExistsComponentTemplateRequestof(java.util.function.Function<ExistsComponentTemplateRequest.Builder,ObjectBuilder<ExistsComponentTemplateRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<ExistsComponentTemplateRequest,BooleanResponse,ErrorResponse> _ENDPOINTEndpoint "cluster.exists_component_template".
-
-
Method Details
-
of
public static ExistsComponentTemplateRequest of(java.util.function.Function<ExistsComponentTemplateRequest.Builder,ObjectBuilder<ExistsComponentTemplateRequest>> fn) -
local
@Nullable public final java.lang.Boolean 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 -
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 -
name
public final java.util.List<java.lang.String> name()Required - Comma-separated list of component template names used to limit the request. Wildcard (*) expressions are supported.API name:
name
-