Class SnapshotShardFailure
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotShardFailure
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SnapshotShardFailure extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description java.lang.Stringindex()Required - API name:indexjava.lang.StringnodeId()Required - API name:node_idstatic SnapshotShardFailureof(java.util.function.Function<SnapshotShardFailure.Builder,ObjectBuilder<SnapshotShardFailure>> fn)java.lang.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 voidsetupSnapshotShardFailureDeserializer(ObjectDeserializer<SnapshotShardFailure.Builder> op)java.lang.StringshardId()Required - API name:shard_idjava.lang.Stringstatus()Required - 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
-
-
Method Details
-
of
public static SnapshotShardFailure of(java.util.function.Function<SnapshotShardFailure.Builder,ObjectBuilder<SnapshotShardFailure>> fn) -
index
public final java.lang.String index()Required - API name:index -
nodeId
public final java.lang.String nodeId()Required - API name:node_id -
reason
public final java.lang.String reason()Required - API name:reason -
shardId
public final java.lang.String shardId()Required - API name:shard_id -
status
public final java.lang.String status()Required - API name:status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotShardFailureDeserializer
protected static void setupSnapshotShardFailureDeserializer(ObjectDeserializer<SnapshotShardFailure.Builder> op)
-