Class ResetSettings
java.lang.Object
org.opensearch.client.opensearch.ingestion.ResetSettings
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ResetSettings.Builder,ResetSettings>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ResetSettings
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ResetSettings.Builder,ResetSettings>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ResetSettings> Json deserializer forResetSettings -
Method Summary
Modifier and TypeMethodDescriptionstatic ResetSettings.Builderbuilder()booleaninthashCode()final ResetModemode()Required - Reset mode to be used.static ResetSettingsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intshard()Required - The shard ID to reset.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringvalue()Required - The offset or timestamp value to be used to reset the consumer.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 forResetSettings
-
-
Method Details
-
of
-
mode
Required - Reset mode to be used.API name:
mode -
shard
public final int shard()Required - The shard ID to reset.API name:
shard -
value
Required - The offset or timestamp value to be used to reset the consumer.API name:
value -
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<ResetSettings.Builder,ResetSettings> - Returns:
- a new builder instance.
-
builder
-
setupResetSettingsDeserializer
-
hashCode
public int hashCode() -
equals
-