Class SnapshotShardFailure
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.SnapshotShardFailure
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class SnapshotShardFailure extends java.lang.Object implements PlainJsonSerializable
-
-
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 booleanequals(java.lang.Object o)inthashCode()java.lang.Stringindex()Required - API name:indexjava.lang.StringnodeId()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-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
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
@Nonnull public final java.lang.String index()
Required - API name:index
-
nodeId
@Nullable public final java.lang.String nodeId()
API name:node_id
-
reason
@Nonnull public final java.lang.String reason()
Required - API name:reason
-
shardId
@Nonnull public final java.lang.String shardId()
Required - API name:shard_id
-
status
@Nonnull 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)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-