Class IngestionStateShardFailure
java.lang.Object
org.opensearch.client.opensearch.ingestion.IngestionStateShardFailure
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IngestionStateShardFailure.Builder,IngestionStateShardFailure>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IngestionStateShardFailure
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IngestionStateShardFailure.Builder,IngestionStateShardFailure>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IngestionStateShardFailure> Json deserializer forIngestionStateShardFailure -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanfinal Stringerror()Required - Indicates the shard level error message.inthashCode()static IngestionStateShardFailurevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupIngestionStateShardFailureDeserializer(ObjectDeserializer<IngestionStateShardFailure.Builder> op) final intshard()Required - The shard number.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forIngestionStateShardFailure
-
-
Method Details
-
of
public static IngestionStateShardFailure of(Function<IngestionStateShardFailure.Builder, ObjectBuilder<IngestionStateShardFailure>> fn) -
error
Required - Indicates the shard level error message.API name:
error -
shard
public final int shard()Required - The shard number.API name:
shard -
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<IngestionStateShardFailure.Builder,IngestionStateShardFailure> - Returns:
- a new builder instance.
-
builder
-
setupIngestionStateShardFailureDeserializer
protected static void setupIngestionStateShardFailureDeserializer(ObjectDeserializer<IngestionStateShardFailure.Builder> op) -
hashCode
public int hashCode() -
equals
-