Class ShardStoreException
java.lang.Object
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStoreException
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardStoreException extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardStoreException.BuilderBuilder forShardStoreException. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardStoreException>_DESERIALIZERJson deserializer forShardStoreException -
Constructor Summary
Constructors Constructor Description ShardStoreException(ShardStoreException.Builder builder)ShardStoreException(java.util.function.Function<ShardStoreException.Builder,ShardStoreException.Builder> fn) -
Method Summary
Modifier and Type Method Description 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 voidsetupShardStoreExceptionDeserializer(DelegatingDeserializer<ShardStoreException.Builder> op)java.lang.Stringtype()Required - API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStoreException
-
-
Constructor Details
-
ShardStoreException
-
ShardStoreException
public ShardStoreException(java.util.function.Function<ShardStoreException.Builder,ShardStoreException.Builder> fn)
-
-
Method Details
-
reason
public java.lang.String reason()Required - API name:reason -
type
public java.lang.String type()Required - API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardStoreExceptionDeserializer
protected static void setupShardStoreExceptionDeserializer(DelegatingDeserializer<ShardStoreException.Builder> op)
-