Class SnapshotRestore
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.restore.SnapshotRestore
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SnapshotRestore extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>indices()Required - API name:indicesstatic SnapshotRestoreof(java.util.function.Function<SnapshotRestore.Builder,ObjectBuilder<SnapshotRestore>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSnapshotRestoreDeserializer(ObjectDeserializer<SnapshotRestore.Builder> op)ShardStatisticsshards()Required - API name:shardsjava.lang.Stringsnapshot()Required - API name:snapshotjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotRestore
-
-
Method Details
-
of
public static SnapshotRestore of(java.util.function.Function<SnapshotRestore.Builder,ObjectBuilder<SnapshotRestore>> fn) -
indices
public final java.util.List<java.lang.String> indices()Required - API name:indices -
snapshot
public final java.lang.String snapshot()Required - API name:snapshot -
shards
Required - API name:shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupSnapshotRestoreDeserializer
protected static void setupSnapshotRestoreDeserializer(ObjectDeserializer<SnapshotRestore.Builder> op)
-