Class Feature.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Feature.Builder>
co.elastic.clients.elasticsearch.features.Feature.Builder
- All Implemented Interfaces:
WithJson<Feature.Builder>
,ObjectBuilder<Feature>
- Enclosing class:
- Feature
public static class Feature.Builder
extends WithJsonObjectBuilderBase<Feature.Builder>
implements ObjectBuilder<Feature>
Builder for
Feature
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aFeature
.final Feature.Builder
description
(String value) Required - API name:description
final Feature.Builder
Required - API name:name
protected Feature.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
Required - API name:name
-
description
Required - API name:description
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Feature.Builder>
-
build
Builds aFeature
.- Specified by:
build
in interfaceObjectBuilder<Feature>
- Throws:
NullPointerException
- if some of the required fields are null.
-