Class SnapshotShardFailure
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.SnapshotShardFailure
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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:status
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SnapshotShardFailure> _DESERIALIZER
Json deserializer forSnapshotShardFailure
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupSnapshotShardFailureDeserializer
protected static void setupSnapshotShardFailureDeserializer(ObjectDeserializer<SnapshotShardFailure.Builder> op)
-
-