Class MountRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.searchable_snapshots.MountRequest
- All Implemented Interfaces:
JsonpSerializable
Mount a snapshot as a searchable index.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<MountRequest>
Json deserializer forMountRequest
static final Endpoint<MountRequest,
MountResponse, ErrorResponse> Endpoint "searchable_snapshots.mount
". -
Method Summary
Modifier and TypeMethodDescriptionAPI name:ignore_index_settings
final String
index()
Required - API name:index
API name:index_settings
final Time
Explicit operation timeout for connection to master nodestatic MountRequest
final String
API name:renamed_index
final String
Required - The name of the repository containing the snapshot of the index to mountvoid
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
snapshot()
Required - The name of the snapshot of the index to mountfinal String
storage()
Selects the kind of local storage used to accelerate searches.final Boolean
Should this request wait until the operation has completed before returningMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forMountRequest
-
_ENDPOINT
Endpoint "searchable_snapshots.mount
".
-
-
Method Details
-
of
-
ignoreIndexSettings
API name:ignore_index_settings
-
index
Required - API name:index
-
indexSettings
API name:index_settings
-
masterTimeout
Explicit operation timeout for connection to master nodeAPI name:
master_timeout
-
renamedIndex
API name:renamed_index
-
repository
Required - The name of the repository containing the snapshot of the index to mountAPI name:
repository
-
snapshot
Required - The name of the snapshot of the index to mountAPI name:
snapshot
-
storage
Selects the kind of local storage used to accelerate searches. Experimental, and defaults tofull_copy
API name:
storage
-
waitForCompletion
Should this request wait until the operation has completed before returningAPI name:
wait_for_completion
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupMountRequestDeserializer
-