Class SnapshotShardFailure
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotShardFailure
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SnapshotShardFailure extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotShardFailure.BuilderBuilder forSnapshotShardFailure. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotShardFailure>_DESERIALIZERJson deserializer forSnapshotShardFailure -
Constructor Summary
Constructors Constructor Description SnapshotShardFailure(SnapshotShardFailure.Builder builder)SnapshotShardFailure(java.util.function.Function<SnapshotShardFailure.Builder,SnapshotShardFailure.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringindex()API name:indexjava.lang.StringnodeId()API name:node_idjava.lang.Stringreason()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 voidsetupSnapshotShardFailureDeserializer(DelegatingDeserializer<SnapshotShardFailure.Builder> op)java.lang.StringshardId()API name:shard_idjava.lang.Stringstatus()API name:statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotShardFailure
-
-
Constructor Details
-
SnapshotShardFailure
-
SnapshotShardFailure
public SnapshotShardFailure(java.util.function.Function<SnapshotShardFailure.Builder,SnapshotShardFailure.Builder> fn)
-
-
Method Details
-
index
public java.lang.String index()API name:index -
nodeId
public java.lang.String nodeId()API name:node_id -
reason
public java.lang.String reason()API name:reason -
shardId
public java.lang.String shardId()API name:shard_id -
status
public java.lang.String status()API name:status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotShardFailureDeserializer
protected static void setupSnapshotShardFailureDeserializer(DelegatingDeserializer<SnapshotShardFailure.Builder> op)
-