Class IngestionSourcePoll
java.lang.Object
org.opensearch.client.opensearch.indices.IngestionSourcePoll
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IngestionSourcePoll.Builder,IngestionSourcePoll>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IngestionSourcePoll
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IngestionSourcePoll.Builder,IngestionSourcePoll>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IngestionSourcePoll> Json deserializer forIngestionSourcePoll -
Method Summary
Modifier and TypeMethodDescriptionstatic IngestionSourcePoll.Builderbuilder()booleaninthashCode()final LongThe maximum number of records to retrieve in each poll operation.static IngestionSourcePollvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integertimeout()Determines the Poll timeout value.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 forIngestionSourcePoll
-
-
Method Details
-
of
public static IngestionSourcePoll of(Function<IngestionSourcePoll.Builder, ObjectBuilder<IngestionSourcePoll>> fn) -
maxBatchSize
The maximum number of records to retrieve in each poll operation.API name:
max_batch_size -
timeout
Determines the Poll timeout value.API name:
timeout -
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<IngestionSourcePoll.Builder,IngestionSourcePoll> - Returns:
- a new builder instance.
-
builder
-
setupIngestionSourcePollDeserializer
protected static void setupIngestionSourcePollDeserializer(ObjectDeserializer<IngestionSourcePoll.Builder> op) -
hashCode
public int hashCode() -
equals
-