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 boolean
Required - Indicates whether the current cluster state is included in the snapshot.final Map<String,
SnapshotIndexStats> indices()
Required - API name:indices
static Status
final String
Required - The name of the repository that includes the snapshot.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final ShardsStats
Required - Statistics for the shards in the snapshot.final String
snapshot()
Required - The name of the snapshot.final String
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.final SnapshotStats
stats()
Required - Details about the number (file_count
) and size (size_in_bytes
) of files included in the snapshot.toString()
final String
uuid()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupStatusDeserializer
-