Class ComponentTemplatesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.cat.CatRequestBase.AbstractBuilder<ComponentTemplatesRequest.Builder>
co.elastic.clients.elasticsearch.cat.ComponentTemplatesRequest.Builder
- All Implemented Interfaces:
WithJson<ComponentTemplatesRequest.Builder>
,ObjectBuilder<ComponentTemplatesRequest>
- Enclosing class:
- ComponentTemplatesRequest
public static class ComponentTemplatesRequest.Builder
extends CatRequestBase.AbstractBuilder<ComponentTemplatesRequest.Builder>
implements ObjectBuilder<ComponentTemplatesRequest>
Builder for
ComponentTemplatesRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aComponentTemplatesRequest
.The name of the component template.protected ComponentTemplatesRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.API name:
name
-
self
- Specified by:
self
in classCatRequestBase.AbstractBuilder<ComponentTemplatesRequest.Builder>
-
build
Builds aComponentTemplatesRequest
.- Specified by:
build
in interfaceObjectBuilder<ComponentTemplatesRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-