Class PauseResponse
java.lang.Object
org.opensearch.client.opensearch.ingestion.PauseResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PauseResponse.Builder,PauseResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PauseResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<PauseResponse.Builder,PauseResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PauseResponse> Json deserializer forPauseResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Indicates if the pause request has been acknowledged.static PauseResponse.Builderbuilder()booleanfinal Stringerror()API name:errorfinal List<IngestionStateShardFailure> failures()API name:failuresinthashCode()static PauseResponsevoidserialize(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 pause 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 forPauseResponse
-
-
Method Details
-
of
-
acknowledged
public final boolean acknowledged()Required - Indicates if the pause request has been acknowledged.API name:
acknowledged -
error
API name:error -
failures
API name:failures -
shardsAcknowledged
public final boolean shardsAcknowledged()Required - Indicates if the pause 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<PauseResponse.Builder,PauseResponse> - Returns:
- a new builder instance.
-
builder
-
setupPauseResponseDeserializer
-
hashCode
public int hashCode() -
equals
-