Class Feature.Builder
java.lang.Object
co.elastic.clients.elasticsearch.features.Feature.Builder
- All Implemented Interfaces:
ObjectBuilder<Feature>
- Enclosing class:
- Feature
public static class Feature.Builder extends java.lang.Object implements ObjectBuilder<Feature>
Builder for
Feature.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Featurebuild()Builds aFeature.Feature.Builderdescription(java.lang.String value)Required - API name:descriptionFeature.Buildername(java.lang.String value)Required - API name:nameMethods 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 -
build
Builds aFeature.- Specified by:
buildin interfaceObjectBuilder<Feature>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-