Class ResumeResponse
java.lang.Object
org.opensearch.client.opensearch.ingestion.ResumeResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ResumeResponse.Builder,ResumeResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ResumeResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ResumeResponse.Builder,ResumeResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ResumeResponse> Json deserializer forResumeResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Indicates if the resume request has been acknowledged.static ResumeResponse.Builderbuilder()booleanfinal Stringerror()API name:errorfinal List<IngestionStateShardFailure> failures()API name:failuresinthashCode()static ResumeResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal booleanRequired - Indicates if the resume request has been acknowledged by individual shards.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 forResumeResponse
-
-
Method Details
-
of
-
acknowledged
public final boolean acknowledged()Required - Indicates if the resume request has been acknowledged.API name:
acknowledged -
error
API name:error -
failures
API name:failures -
shardsAcknowledged
public final boolean shardsAcknowledged()Required - Indicates if the resume request has been acknowledged by individual shards.API name:
shards_acknowledged -
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<ResumeResponse.Builder,ResumeResponse> - Returns:
- a new builder instance.
-
builder
-
setupResumeResponseDeserializer
protected static void setupResumeResponseDeserializer(ObjectDeserializer<ResumeResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-