Class OpenPointInTimeRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<OpenPointInTimeRequest.Builder>
co.elastic.clients.elasticsearch.core.OpenPointInTimeRequest.Builder
- All Implemented Interfaces:
WithJson<OpenPointInTimeRequest.Builder>,ObjectBuilder<OpenPointInTimeRequest>
- Enclosing class:
- OpenPointInTimeRequest
public static class OpenPointInTimeRequest.Builder
extends RequestBase.AbstractBuilder<OpenPointInTimeRequest.Builder>
implements ObjectBuilder<OpenPointInTimeRequest>
Builder for
OpenPointInTimeRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aOpenPointInTimeRequest.ignoreUnavailable(Boolean value) Whether specified concrete indices should be ignored when unavailable (missing or closed)Required - A comma-separated list of index names to open point in time; use_allor empty string to perform the operation on all indicesRequired - A comma-separated list of index names to open point in time; use_allor empty string to perform the operation on all indicesRequired - Specific the time to live for the point in timeRequired - Specific the time to live for the point in timeprotected OpenPointInTimeRequest.Builderself()Methods 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
-
index
Required - A comma-separated list of index names to open point in time; use_allor empty string to perform the operation on all indicesAPI name:
indexAdds all elements of
listtoindex. -
index
Required - A comma-separated list of index names to open point in time; use_allor empty string to perform the operation on all indicesAPI name:
indexAdds one or more values to
index. -
keepAlive
Required - Specific the time to live for the point in timeAPI name:
keep_alive -
keepAlive
public final OpenPointInTimeRequest.Builder keepAlive(Function<Time.Builder, ObjectBuilder<Time>> fn) Required - Specific the time to live for the point in timeAPI name:
keep_alive -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<OpenPointInTimeRequest.Builder>
-
build
Builds aOpenPointInTimeRequest.- Specified by:
buildin interfaceObjectBuilder<OpenPointInTimeRequest>- Throws:
NullPointerException- if some of the required fields are null.