Class OpenPointInTimeRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch._core.OpenPointInTimeRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<OpenPointInTimeRequest>
- Enclosing class:
- OpenPointInTimeRequest
public static class OpenPointInTimeRequest.Builder extends java.lang.Object implements ObjectBuilder<OpenPointInTimeRequest>
Builder for
OpenPointInTimeRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description OpenPointInTimeRequest.BuilderaddIndex(java.lang.String value)Add a value toindex(List), creating the list if needed.OpenPointInTimeRequestbuild()Builds aOpenPointInTimeRequest.OpenPointInTimeRequest.Builderindex(java.lang.String... value)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> value)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(java.lang.String value)Specific the time to live for the point in timeMethods 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:
index -
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:
index -
addIndex
Add a value toindex(List), creating the list if needed. -
keepAlive
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.
-