Class SnapshotRestore
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.restore.SnapshotRestore
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SnapshotRestore extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotRestore.BuilderBuilder forSnapshotRestore. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotRestore>_DESERIALIZERJson deserializer forSnapshotRestore -
Constructor Summary
Constructors Constructor Description SnapshotRestore(SnapshotRestore.Builder builder)SnapshotRestore(java.util.function.Function<SnapshotRestore.Builder,SnapshotRestore.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>indices()Required - API name:indicesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSnapshotRestoreDeserializer(DelegatingDeserializer<SnapshotRestore.Builder> op)ShardStatisticsshards()Required - API name:shardsjava.lang.Stringsnapshot()Required - API name:snapshotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotRestore
-
-
Constructor Details
-
SnapshotRestore
-
SnapshotRestore
public SnapshotRestore(java.util.function.Function<SnapshotRestore.Builder,SnapshotRestore.Builder> fn)
-
-
Method Details
-
indices
public java.util.List<java.lang.String> indices()Required - API name:indices -
snapshot
public java.lang.String snapshot()Required - API name:snapshot -
shards
Required - API name:shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotRestoreDeserializer
protected static void setupSnapshotRestoreDeserializer(DelegatingDeserializer<SnapshotRestore.Builder> op)
-