Class SourceIndex.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SourceIndex.Builder>
co.elastic.clients.elasticsearch.indices.migrate_reindex.SourceIndex.Builder
- All Implemented Interfaces:
WithJson<SourceIndex.Builder>,ObjectBuilder<SourceIndex>
- Enclosing class:
- SourceIndex
public static class SourceIndex.Builder
extends WithJsonObjectBuilderBase<SourceIndex.Builder>
implements ObjectBuilder<SourceIndex>
Builder for
SourceIndex.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSourceIndex.final SourceIndex.BuilderRequired - API name:indexprotected SourceIndex.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
-
index
Required - API name:index -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SourceIndex.Builder>
-
build
Builds aSourceIndex.- Specified by:
buildin interfaceObjectBuilder<SourceIndex>- Throws:
NullPointerException- if some of the required fields are null.
-