Class RestoreRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.RestoreRequest
- All Implemented Interfaces:
JsonpSerializable
Restores a snapshot.
- 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<RestoreRequest>Json deserializer forRestoreRequeststatic final Endpoint<RestoreRequest,RestoreResponse, ErrorResponse> Endpoint "snapshot.restore". -
Method Summary
Modifier and TypeMethodDescriptionAPI name:feature_statesAPI name:ignore_index_settingsfinal BooleanAPI name:ignore_unavailablefinal BooleanAPI name:include_aliasesfinal BooleanAPI name:include_global_stateAPI name:index_settingsindices()API name:indicesfinal TimeExplicit operation timeout for connection to master nodestatic RestoreRequestfinal Booleanpartial()API name:partialfinal StringAPI name:rename_patternfinal StringAPI name:rename_replacementfinal StringRequired - A repository namevoidserialize(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 - A snapshot namefinal 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 forRestoreRequest -
_ENDPOINT
Endpoint "snapshot.restore".
-
-
Method Details
-
of
-
featureStates
API name:feature_states -
ignoreIndexSettings
API name:ignore_index_settings -
includeAliases
API name:include_aliases -
includeGlobalState
API name:include_global_state -
indexSettings
API name:index_settings -
indices
API name:indices -
masterTimeout
Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
partial
API name:partial -
renamePattern
API name:rename_pattern -
renameReplacement
API name:rename_replacement -
repository
Required - A repository nameAPI name:
repository -
snapshot
Required - A snapshot nameAPI name:
snapshot -
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
-
setupRestoreRequestDeserializer
protected static void setupRestoreRequestDeserializer(ObjectDeserializer<RestoreRequest.Builder> op)
-