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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSearchableSnapshots.fullCopyIndicesCount(Integer value) API name:full_copy_indices_countindicesCount(int value) Required - API name:indices_countprotected SearchableSnapshots.Builderself()sharedCacheIndicesCount(Integer value) API name:shared_cache_indices_countMethods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder
available, enabledMethods 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
-
indicesCount
Required - API name:indices_count -
fullCopyIndicesCount
API name:full_copy_indices_count -
self
- Specified by:
selfin classBase.AbstractBuilder<SearchableSnapshots.Builder>
-
build
Builds aSearchableSnapshots.- Specified by:
buildin interfaceObjectBuilder<SearchableSnapshots>- Throws:
NullPointerException- if some of the required fields are null.
-