Class SearchableSnapshotsStatsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SearchableSnapshotsStatsResponse.Builder>
co.elastic.clients.elasticsearch.searchable_snapshots.SearchableSnapshotsStatsResponse.Builder
- All Implemented Interfaces:
WithJson<SearchableSnapshotsStatsResponse.Builder>,ObjectBuilder<SearchableSnapshotsStatsResponse>
- Enclosing class:
- SearchableSnapshotsStatsResponse
public static class SearchableSnapshotsStatsResponse.Builder extends WithJsonObjectBuilderBase<SearchableSnapshotsStatsResponse.Builder> implements ObjectBuilder<SearchableSnapshotsStatsResponse>
Builder for
SearchableSnapshotsStatsResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SearchableSnapshotsStatsResponsebuild()Builds aSearchableSnapshotsStatsResponse.protected SearchableSnapshotsStatsResponse.Builderself()SearchableSnapshotsStatsResponse.Builderstats(JsonData value)Required - API name:statsSearchableSnapshotsStatsResponse.Buildertotal(JsonData value)Required - API name:totalMethods 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
-
stats
Required - API name:stats -
total
Required - API name:total -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SearchableSnapshotsStatsResponse.Builder>
-
build
Builds aSearchableSnapshotsStatsResponse.- Specified by:
buildin interfaceObjectBuilder<SearchableSnapshotsStatsResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-