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 Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SearchableSnapshots
build()
Builds aSearchableSnapshots
.SearchableSnapshots.Builder
fullCopyIndicesCount(java.lang.Integer value)
API name:full_copy_indices_count
SearchableSnapshots.Builder
indicesCount(int value)
Required - API name:indices_count
protected SearchableSnapshots.Builder
self()
SearchableSnapshots.Builder
sharedCacheIndicesCount(java.lang.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException
- if some of the required fields are null.
-