Class Feature.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Feature.Builder>
co.elastic.clients.elasticsearch.xpack.info.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 TypeMethodDescriptionfinal Feature.Builder
available
(boolean value) Required - API name:available
build()
Builds aFeature
.final Feature.Builder
description
(String value) API name:description
final Feature.Builder
enabled
(boolean value) Required - API name:enabled
final Feature.Builder
API name:native_code_info
final Feature.Builder
API name:native_code_info
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
-
available
Required - API name:available
-
description
API name:description
-
enabled
Required - API name:enabled
-
nativeCodeInfo
API name:native_code_info
-
nativeCodeInfo
public final Feature.Builder nativeCodeInfo(Function<NativeCodeInformation.Builder, ObjectBuilder<NativeCodeInformation>> fn) API name:native_code_info
-
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.
-