Class ClearScrollResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.ClearScrollResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ClearScrollResponse>
- Enclosing class:
- ClearScrollResponse
public static class ClearScrollResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<ClearScrollResponse>
Builder forClearScrollResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClearScrollResponsebuild()Builds aClearScrollResponse.ClearScrollResponse.BuildernumFreed(int value)Required - API name:num_freedClearScrollResponse.Buildersucceeded(boolean value)Required - API name:succeeded-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
succeeded
public final ClearScrollResponse.Builder succeeded(boolean value)
Required - API name:succeeded
-
numFreed
public final ClearScrollResponse.Builder numFreed(int value)
Required - API name:num_freed
-
build
public ClearScrollResponse build()
Builds aClearScrollResponse.- Specified by:
buildin interfaceObjectBuilder<ClearScrollResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-