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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSearchableSnapshotsStatsResponse.protected SearchableSnapshotsStatsResponse.Builderself()Required - API name:statsRequired - API name:totalMethods 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
-
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:
NullPointerException- if some of the required fields are null.
-