Class SnapshotRestore
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.restore.SnapshotRestore
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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:snapshot
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SnapshotRestore> _DESERIALIZER
Json deserializer forSnapshotRestore
-
-
Method Detail
-
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
public final ShardStatistics shards()
Required - API name:shards
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupSnapshotRestoreDeserializer
protected static void setupSnapshotRestoreDeserializer(ObjectDeserializer<SnapshotRestore.Builder> op)
-
-