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 class
SnapshotRestore.Builder
Builder forSnapshotRestore
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotRestore>
_DESERIALIZER
Json 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:indices
void
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
setupSnapshotRestoreDeserializer(DelegatingDeserializer<SnapshotRestore.Builder> op)
ShardStatistics
shards()
Required - API name:shards
java.lang.String
snapshot()
Required - API name:snapshot
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotRestoreDeserializer
protected static void setupSnapshotRestoreDeserializer(DelegatingDeserializer<SnapshotRestore.Builder> op)
-