Class Status
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.Status
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Status>Json deserializer forStatus
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forStatus
 
- 
- 
Method Details- 
of
- 
includeGlobalStatepublic final boolean includeGlobalState()Required - Indicates whether the current cluster state is included in the snapshot.API name: include_global_state
- 
indicesRequired - API name:indices
- 
repositoryRequired - The name of the repository that includes the snapshot.API name: repository
- 
shardsStatsRequired - Statistics for the shards in the snapshot.API name: shards_stats
- 
snapshotRequired - The name of the snapshot.API name: snapshot
- 
stateRequired - 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
- 
statsRequired - Details about the number (file_count) and size (size_in_bytes) of files included in the snapshot.API name: stats
- 
uuidRequired - The universally unique identifier (UUID) for the snapshot.API name: uuid
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupStatusDeserializer
 
-