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.expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether to expand wildcard expression to concrete indices that are open, closed or both.expandWildcards(List<ExpandWildcard> list) Whether to expand wildcard expression to concrete indices that are open, closed or both.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 timepreference(String value) Specify the node or shard the operation should be performed on (default: random)Specific routing valueprotected 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
-
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcardsAdds all elements of
listtoexpandWildcards. -
expandWildcards
public final OpenPointInTimeRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcardsAdds one or more values to
expandWildcards. -
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 -
preference
Specify the node or shard the operation should be performed on (default: random)API name:
preference -
routing
Specific routing valueAPI name:
routing -
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.
-