Class ShardStoreException
java.lang.Object
org.opensearch.client.opensearch.indices.shard_stores.ShardStoreException
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardStoreException.Builder,ShardStoreException>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardStoreException
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardStoreException.Builder,ShardStoreException>
The exception information for a shard store.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardStoreException> Json deserializer forShardStoreException -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardStoreException.Builderbuilder()booleaninthashCode()static ShardStoreExceptionfinal Stringreason()Required - The reason for the store exception.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()Required - The type of store exception.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStoreException
-
-
Method Details
-
of
public static ShardStoreException of(Function<ShardStoreException.Builder, ObjectBuilder<ShardStoreException>> fn) -
reason
Required - The reason for the store exception.API name:
reason -
type
Required - The type of store exception.API name:
type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ShardStoreException.Builder,ShardStoreException> - Returns:
- a new builder instance.
-
builder
-
setupShardStoreExceptionDeserializer
protected static void setupShardStoreExceptionDeserializer(ObjectDeserializer<ShardStoreException.Builder> op) -
hashCode
public int hashCode() -
equals
-