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