Class RetryIndexResponse
java.lang.Object
org.opensearch.client.opensearch.ism.RetryIndexResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RetryIndexResponse.Builder,RetryIndexResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RetryIndexResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RetryIndexResponse.Builder,RetryIndexResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RetryIndexResponse> Json deserializer forRetryIndexResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic RetryIndexResponse.Builderbuilder()booleanfinal List<FailedIndex> The list of indices that failed to update.final Booleanfailures()Whether there were any failures.inthashCode()static RetryIndexResponsevoidserialize(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 NumberThe number of updated indices.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 forRetryIndexResponse
-
-
Method Details
-
of
public static RetryIndexResponse of(Function<RetryIndexResponse.Builder, ObjectBuilder<RetryIndexResponse>> fn) -
failedIndices
The list of indices that failed to update.API name:
failed_indices -
failures
Whether there were any failures.API name:
failures -
updatedIndices
The number of updated indices.API name:
updated_indices -
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<RetryIndexResponse.Builder,RetryIndexResponse> - Returns:
- a new builder instance.
-
builder
-
setupRetryIndexResponseDeserializer
protected static void setupRetryIndexResponseDeserializer(ObjectDeserializer<RetryIndexResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-