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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFeature.final Feature.Builderdescription(String value) Required - API name:descriptionfinal Feature.BuilderRequired - API name:nameprotected Feature.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<Feature.Builder>
-
build
Builds aFeature.- Specified by:
buildin interfaceObjectBuilder<Feature>- Throws:
NullPointerException- if some of the required fields are null.
-