Class ClosePointInTimeResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClosePointInTimeResponse.Builder>
co.elastic.clients.elasticsearch.core.ClosePointInTimeResponse.Builder
- All Implemented Interfaces:
- WithJson<ClosePointInTimeResponse.Builder>,- ObjectBuilder<ClosePointInTimeResponse>
- Enclosing class:
- ClosePointInTimeResponse
public static class ClosePointInTimeResponse.Builder
extends WithJsonObjectBuilderBase<ClosePointInTimeResponse.Builder>
implements ObjectBuilder<ClosePointInTimeResponse>
Builder for 
ClosePointInTimeResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aClosePointInTimeResponse.numFreed(int value) Required - The number of search contexts that were successfully closed.protected ClosePointInTimeResponse.Builderself()succeeded(boolean value) Required - Iftrue, all search contexts associated with the point-in-time ID were successfully closed.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
succeededRequired - Iftrue, all search contexts associated with the point-in-time ID were successfully closed.API name: succeeded
- 
numFreedRequired - The number of search contexts that were successfully closed.API name: num_freed
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<ClosePointInTimeResponse.Builder>
 
- 
buildBuilds aClosePointInTimeResponse.- Specified by:
- buildin interface- ObjectBuilder<ClosePointInTimeResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-