Class SnapshotRestore
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.restore.SnapshotRestore
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotRestore>Json deserializer forSnapshotRestore -
Method Summary
Modifier and TypeMethodDescriptionindices()Required - API name:indicesstatic SnapshotRestorevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStatisticsshards()Required - API name:shardsfinal Stringsnapshot()Required - API name:snapshottoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotRestore
-
-
Method Details
-
of
public static SnapshotRestore of(Function<SnapshotRestore.Builder, ObjectBuilder<SnapshotRestore>> fn) -
indices
Required - API name:indices -
snapshot
Required - API name:snapshot -
shards
Required - API name:shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotRestoreDeserializer
protected static void setupSnapshotRestoreDeserializer(ObjectDeserializer<SnapshotRestore.Builder> op)
-