Class SearchableSnapshots.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder<SearchableSnapshots.Builder>
co.elastic.clients.elasticsearch.xpack.usage.SearchableSnapshots.Builder
- All Implemented Interfaces:
WithJson<SearchableSnapshots.Builder>
,ObjectBuilder<SearchableSnapshots>
- Enclosing class:
- SearchableSnapshots
public static class SearchableSnapshots.Builder
extends Base.AbstractBuilder<SearchableSnapshots.Builder>
implements ObjectBuilder<SearchableSnapshots>
Builder for
SearchableSnapshots
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSearchableSnapshots
.fullCopyIndicesCount
(Integer value) API name:full_copy_indices_count
indicesCount
(int value) Required - API name:indices_count
protected SearchableSnapshots.Builder
self()
sharedCacheIndicesCount
(Integer value) API name:shared_cache_indices_count
Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder
available, enabled
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
-
indicesCount
Required - API name:indices_count
-
fullCopyIndicesCount
API name:full_copy_indices_count
-
self
- Specified by:
self
in classBase.AbstractBuilder<SearchableSnapshots.Builder>
-
build
Builds aSearchableSnapshots
.- Specified by:
build
in interfaceObjectBuilder<SearchableSnapshots>
- Throws:
NullPointerException
- if some of the required fields are null.
-