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_index
protected SearchableSnapshotAction.Builder
self()
snapshotRepository
(String value) Required - API name:snapshot_repository
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
-
snapshotRepository
Required - API name:snapshot_repository
-
forceMergeIndex
API name:force_merge_index
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SearchableSnapshotAction.Builder>
-
build
Builds aSearchableSnapshotAction
.- Specified by:
build
in interfaceObjectBuilder<SearchableSnapshotAction>
- Throws:
NullPointerException
- if some of the required fields are null.
-