Class SnapshotShardFailure
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotShardFailure
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotShardFailure>Json deserializer forSnapshotShardFailure -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringindex()Required - API name:indexfinal StringRequired - API name:index_uuidfinal StringnodeId()API name:node_idstatic SnapshotShardFailurefinal Stringreason()Required - API name:reasonvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intshardId()Required - API name:shard_idfinal Stringstatus()Required - API name:statustoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotShardFailure
-
-
Method Details
-
of
public static SnapshotShardFailure of(Function<SnapshotShardFailure.Builder, ObjectBuilder<SnapshotShardFailure>> fn) -
index
Required - API name:index -
nodeId
API name:node_id -
reason
Required - API name:reason -
shardId
public final int shardId()Required - API name:shard_id -
indexUuid
Required - API name:index_uuid -
status
Required - API name:status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotShardFailureDeserializer
protected static void setupSnapshotShardFailureDeserializer(ObjectDeserializer<SnapshotShardFailure.Builder> op)
-