Class RefreshResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.ShardsOperationResponseBase.AbstractBuilder<RefreshResponse.Builder>
-
- org.opensearch.client.opensearch.indices.RefreshResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<RefreshResponse>
- Enclosing class:
- RefreshResponse
public static class RefreshResponse.Builder extends ShardsOperationResponseBase.AbstractBuilder<RefreshResponse.Builder> implements ObjectBuilder<RefreshResponse>
Builder forRefreshResponse
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefreshResponse
build()
Builds aRefreshResponse
.protected RefreshResponse.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.ShardsOperationResponseBase.AbstractBuilder
shards, shards
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected RefreshResponse.Builder self()
- Specified by:
self
in classShardsOperationResponseBase.AbstractBuilder<RefreshResponse.Builder>
-
build
public RefreshResponse build()
Builds aRefreshResponse
.- Specified by:
build
in interfaceObjectBuilder<RefreshResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-