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 SearchableSnapshotsbuild()Builds aSearchableSnapshots.SearchableSnapshots.BuilderfullCopyIndicesCount(java.lang.Integer value)API name:full_copy_indices_countSearchableSnapshots.BuilderindicesCount(int value)Required - API name:indices_countprotected SearchableSnapshots.Builderself()SearchableSnapshots.BuildersharedCacheIndicesCount(java.lang.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, _mapPutAllMethods 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:
selfin classBase.AbstractBuilder<SearchableSnapshots.Builder>
-
build
Builds aSearchableSnapshots.- Specified by:
buildin interfaceObjectBuilder<SearchableSnapshots>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-