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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MountRequest>Json deserializer forMountRequeststatic final Endpoint<MountRequest,MountResponse, ErrorResponse> Endpoint "searchable_snapshots.mount". -
Method Summary
Modifier and TypeMethodDescriptionAPI name:ignore_index_settingsfinal Stringindex()Required - API name:indexAPI name:index_settingsfinal TimeExplicit operation timeout for connection to master nodestatic MountRequestfinal StringAPI name:renamed_indexfinal StringRequired - The name of the repository containing the snapshot of the index to mountvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsnapshot()Required - The name of the snapshot of the index to mountfinal Stringstorage()Selects the kind of local storage used to accelerate searches.final BooleanShould 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_copyAPI 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMountRequestDeserializer
-