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 Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Feature
build()
Builds aFeature
.Feature.Builder
description(java.lang.String value)
Required - API name:description
Feature.Builder
name(java.lang.String value)
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
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 - 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:
java.lang.NullPointerException
- if some of the required fields are null.
-