Class CreatePitRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.core.CreatePitRequest
- All Implemented Interfaces:
ToCopyableBuilder<CreatePitRequest.Builder,CreatePitRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class CreatePitRequest
extends RequestBase
implements ToCopyableBuilder<CreatePitRequest.Builder,CreatePitRequest>
Creates point in time context.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<CreatePitRequest, CreatePitResponse, ErrorResponse> Endpoint "create_pit". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanAllow if point in time can be created with partial failures.protected voidapplyQueryParameters(Map<String, String> params) static CreatePitRequest.Builderbuilder()booleanfinal List<ExpandWildcard> Whether to expand wildcard expression to concrete indexes that are open, closed or both.inthashCode()index()Required - A comma-separated list of indexes; use_allor empty string to perform the operation on all indexes.final TimeSpecify the keep alive for point in time.static CreatePitRequestfinal StringSpecify the node or shard the operation should be performed on.routing()A comma-separated list of specific routing values.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "create_pit".
-
-
Method Details
-
of
public static CreatePitRequest of(Function<CreatePitRequest.Builder, ObjectBuilder<CreatePitRequest>> fn) -
allowPartialPitCreation
Allow if point in time can be created with partial failures.API name:
allow_partial_pit_creation -
expandWildcards
Whether to expand wildcard expression to concrete indexes that are open, closed or both.API name:
expand_wildcards -
index
Required - A comma-separated list of indexes; use_allor empty string to perform the operation on all indexes.API name:
index -
keepAlive
Specify the keep alive for point in time.API name:
keep_alive -
preference
Specify the node or shard the operation should be performed on.API name:
preference -
routing
A comma-separated list of specific routing values.API name:
routing -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePitRequest.Builder,CreatePitRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-