Class OpenPointInTimeRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.OpenPointInTimeRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<OpenPointInTimeRequest>
- Enclosing class:
- OpenPointInTimeRequest
public static class OpenPointInTimeRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<OpenPointInTimeRequest>
Builder for
OpenPointInTimeRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description OpenPointInTimeRequestbuild()Builds aOpenPointInTimeRequest.OpenPointInTimeRequest.BuilderignoreUnavailable(java.lang.Boolean value)Whether specified concrete indices should be ignored when unavailable (missing or closed)OpenPointInTimeRequest.Builderindex(java.lang.String value, java.lang.String... values)Required - A comma-separated list of index names to open point in time; use_allor empty string to perform the operation on all indicesOpenPointInTimeRequest.Builderindex(java.util.List<java.lang.String> list)Required - A comma-separated list of index names to open point in time; use_allor empty string to perform the operation on all indicesOpenPointInTimeRequest.BuilderkeepAlive(Time value)Required - Specific the time to live for the point in timeOpenPointInTimeRequest.BuilderkeepAlive(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - Specific the time to live for the point in timeMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
public final OpenPointInTimeRequest.Builder index(java.lang.String value, java.lang.String... values)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(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - Specific the time to live for the point in timeAPI name:
keep_alive -
build
Builds aOpenPointInTimeRequest.- Specified by:
buildin interfaceObjectBuilder<OpenPointInTimeRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.