Class GetStateResponse
java.lang.Object
org.opensearch.client.opensearch.ingestion.GetStateResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetStateResponse.Builder,GetStateResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetStateResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetStateResponse.Builder,GetStateResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetStateResponse> Json deserializer forGetStateResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic GetStateResponse.Builderbuilder()booleaninthashCode()final Map<String, List<ShardIngestionState>> Ingestion state for a given index and its shards.final StringSpecifies the next page token.static GetStateResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStatisticsshards()API name:_shardsCreate 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 forGetStateResponse
-
-
Method Details
-
of
public static GetStateResponse of(Function<GetStateResponse.Builder, ObjectBuilder<GetStateResponse>> fn) -
ingestionState
Ingestion state for a given index and its shards.API name:
ingestion_state -
nextPageToken
Specifies the next page token. Pass this token in the request to retrieve contents of the next page.API name:
next_page_token -
shards
API name:_shards -
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<GetStateResponse.Builder,GetStateResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetStateResponseDeserializer
protected static void setupGetStateResponseDeserializer(ObjectDeserializer<GetStateResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-