Class SearchableSnapshotAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SearchableSnapshotAction.Builder>
co.elastic.clients.elasticsearch.ilm.SearchableSnapshotAction.Builder
- All Implemented Interfaces:
WithJson<SearchableSnapshotAction.Builder>,ObjectBuilder<SearchableSnapshotAction>
- Enclosing class:
- SearchableSnapshotAction
public static class SearchableSnapshotAction.Builder
extends WithJsonObjectBuilderBase<SearchableSnapshotAction.Builder>
implements ObjectBuilder<SearchableSnapshotAction>
Builder for
SearchableSnapshotAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSearchableSnapshotAction.forceMergeIndex(Boolean value) API name:force_merge_indexprotected SearchableSnapshotAction.Builderself()snapshotRepository(String value) Required - API name:snapshot_repositoryMethods 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
-
snapshotRepository
Required - API name:snapshot_repository -
forceMergeIndex
API name:force_merge_index -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SearchableSnapshotAction.Builder>
-
build
Builds aSearchableSnapshotAction.- Specified by:
buildin interfaceObjectBuilder<SearchableSnapshotAction>- Throws:
NullPointerException- if some of the required fields are null.
-