Class MountRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.searchable_snapshots.MountRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class MountRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMountRequest.BuilderBuilder forMountRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MountRequest>_DESERIALIZERJson deserializer forMountRequeststatic Endpoint<MountRequest,MountResponse,ElasticsearchError>ENDPOINTEndpoint "searchable_snapshots.mount". -
Constructor Summary
Constructors Constructor Description MountRequest(MountRequest.Builder builder)MountRequest(java.util.function.Function<MountRequest.Builder,MountRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>ignoreIndexSettings()API name:ignore_index_settingsjava.lang.Stringindex()Required - API name:indexjava.util.Map<java.lang.String,JsonData>indexSettings()API name:index_settingsjava.lang.StringmasterTimeout()Explicit operation timeout for connection to master nodejava.lang.StringrenamedIndex()API name:renamed_indexjava.lang.Stringrepository()Required - 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 voidsetupMountRequestDeserializer(DelegatingDeserializer<MountRequest.Builder> op)java.lang.Stringsnapshot()Required - The name of the snapshot of the index to mountjava.lang.Stringstorage()Selects the kind of local storage used to accelerate searches.java.lang.BooleanwaitForCompletion()Should this request wait until the operation has completed before returningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMountRequest -
ENDPOINT
Endpoint "searchable_snapshots.mount".
-
-
Constructor Details
-
MountRequest
-
MountRequest
-
-
Method Details
-
repository
public java.lang.String repository()Required - The name of the repository containing the snapshot of the index to mountAPI name:
repository -
snapshot
public java.lang.String snapshot()Required - The name of the snapshot of the index to mountAPI name:
snapshot -
masterTimeout
@Nullable public java.lang.String masterTimeout()Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
waitForCompletion
@Nullable public java.lang.Boolean waitForCompletion()Should this request wait until the operation has completed before returningAPI name:
wait_for_completion -
storage
@Nullable public java.lang.String storage()Selects the kind of local storage used to accelerate searches. Experimental, and defaults tofull_copyAPI name:
storage -
index
public java.lang.String index()Required - API name:index -
renamedIndex
@Nullable public java.lang.String renamedIndex()API name:renamed_index -
indexSettings
API name:index_settings -
ignoreIndexSettings
@Nullable public java.util.List<java.lang.String> ignoreIndexSettings()API name:ignore_index_settings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMountRequestDeserializer
protected static void setupMountRequestDeserializer(DelegatingDeserializer<MountRequest.Builder> op)
-