Class OpenPointInTimeResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<OpenPointInTimeResponse.Builder>
co.elastic.clients.elasticsearch.core.OpenPointInTimeResponse.Builder
- All Implemented Interfaces:
WithJson<OpenPointInTimeResponse.Builder>,ObjectBuilder<OpenPointInTimeResponse>
- Enclosing class:
- OpenPointInTimeResponse
public static class OpenPointInTimeResponse.Builder
extends WithJsonObjectBuilderBase<OpenPointInTimeResponse.Builder>
implements ObjectBuilder<OpenPointInTimeResponse>
Builder for
OpenPointInTimeResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aOpenPointInTimeResponse.Required - API name:idprotected OpenPointInTimeResponse.Builderself()shards(ShardStatistics value) Required - Shards used to create the PITRequired - Shards used to create the PITMethods 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
-
shards
Required - Shards used to create the PITAPI name:
_shards -
shards
public final OpenPointInTimeResponse.Builder shards(Function<ShardStatistics.Builder, ObjectBuilder<ShardStatistics>> fn) Required - Shards used to create the PITAPI name:
_shards -
id
Required - API name:id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<OpenPointInTimeResponse.Builder>
-
build
Builds aOpenPointInTimeResponse.- Specified by:
buildin interfaceObjectBuilder<OpenPointInTimeResponse>- Throws:
NullPointerException- if some of the required fields are null.
-