Class OpenPointInTimeRequest.Builder
java.lang.Object
org.opensearch.client.opensearch._global.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
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)API name:indexOpenPointInTimeRequest.Builderindex(java.util.List<java.lang.String> value)API name:indexOpenPointInTimeRequest.BuilderkeepAlive(jakarta.json.JsonValue value)API name:keep_alive
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
API name:index -
index
API name:index -
addIndex
Add a value toindex(List), creating the list if needed. -
keepAlive
API name:keep_alive -
build
Builds aOpenPointInTimeRequest.- Specified by:
buildin interfaceObjectBuilder<OpenPointInTimeRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-