Class SnapshotStatus
java.lang.Object
org.opensearch.client.opensearch.snapshot.SnapshotStatus
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SnapshotStatus.Builder,SnapshotStatus>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SnapshotStatus
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SnapshotStatus.Builder,SnapshotStatus>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotStatus> Json deserializer forSnapshotStatus -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotStatus.Builderbuilder()booleaninthashCode()final BooleanWhether the snapshot includes the cluster state.final Map<String, SnapshotIndexStats> indices()The status of indexes in the snapshot.static SnapshotStatusfinal StringThe name of the repository containing the snapshot.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal SnapshotShardsStatsThe statistics about snapshot shards.final Stringsnapshot()The name of the snapshot.final Stringstate()The current state of the snapshot.final SnapshotStatsstats()The detailed statistics about the snapshot.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringuuid()The unique identifier for the snapshot.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotStatus
-
-
Method Details
-
of
-
includeGlobalState
Whether the snapshot includes the cluster state.API name:
include_global_state -
indices
The status of indexes in the snapshot.API name:
indices -
repository
The name of the repository containing the snapshot.API name:
repository -
shardsStats
The statistics about snapshot shards.API name:
shards_stats -
snapshot
The name of the snapshot.API name:
snapshot -
state
The current state of the snapshot.API name:
state -
stats
The detailed statistics about the snapshot.API name:
stats -
uuid
The unique identifier for the snapshot.API name:
uuid -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotStatus.Builder,SnapshotStatus> - Returns:
- a new builder instance.
-
builder
-
setupSnapshotStatusDeserializer
protected static void setupSnapshotStatusDeserializer(ObjectDeserializer<SnapshotStatus.Builder> op) -
hashCode
public int hashCode() -
equals
-