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 class
SnapshotShardFailure.Builder
Builder forSnapshotShardFailure
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotShardFailure>
_DESERIALIZER
Json deserializer forSnapshotShardFailure
-
Method Summary
Modifier and Type Method Description java.lang.String
index()
Required - API name:index
java.lang.String
nodeId()
Required - API name:node_id
static SnapshotShardFailure
of(java.util.function.Function<SnapshotShardFailure.Builder,ObjectBuilder<SnapshotShardFailure>> fn)
java.lang.String
reason()
Required - API name:reason
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
setupSnapshotShardFailureDeserializer(ObjectDeserializer<SnapshotShardFailure.Builder> op)
java.lang.String
shardId()
Required - API name:shard_id
java.lang.String
status()
Required - API name:status
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupSnapshotShardFailureDeserializer
protected static void setupSnapshotShardFailureDeserializer(ObjectDeserializer<SnapshotShardFailure.Builder> op)
-