Class Status
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.Status
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Status>Json deserializer forStatus -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Indicates whether the current cluster state is included in the snapshot.final Map<String,SnapshotIndexStats> indices()Required - API name:indicesstatic Statusfinal StringRequired - The name of the repository that includes 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 ShardsStatsRequired - Statistics for the shards in the snapshot.final Stringsnapshot()Required - The name of the snapshot.final Stringstate()Required - The current snapshot state:FAILED: The snapshot finished with an error and failed to store any data.STARTED: The snapshot is currently running.SUCCESS: The snapshot completed.final SnapshotStatsstats()Required - Details about the number (file_count) and size (size_in_bytes) of files included in the snapshot.toString()final Stringuuid()Required - The universally unique identifier (UUID) for the snapshot.
-
Field Details
-
_DESERIALIZER
Json deserializer forStatus
-
-
Method Details
-
of
-
includeGlobalState
public final boolean includeGlobalState()Required - Indicates whether the current cluster state is included in the snapshot.API name:
include_global_state -
indices
Required - API name:indices -
repository
Required - The name of the repository that includes the snapshot.API name:
repository -
shardsStats
Required - Statistics for the shards in the snapshot.API name:
shards_stats -
snapshot
Required - The name of the snapshot.API name:
snapshot -
state
Required - The current snapshot state:FAILED: The snapshot finished with an error and failed to store any data.STARTED: The snapshot is currently running.SUCCESS: The snapshot completed.
API name:
state -
stats
Required - Details about the number (file_count) and size (size_in_bytes) of files included in the snapshot.API name:
stats -
uuid
Required - The universally unique identifier (UUID) for the snapshot.API name:
uuid -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupStatusDeserializer
-