Class SearchInput
java.lang.Object
co.elastic.clients.elasticsearch.watcher.SearchInput
- All Implemented Interfaces:
InputVariant
,JsonpSerializable
@JsonpDeserializable public class SearchInput extends java.lang.Object implements InputVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchInput.Builder
Builder forSearchInput
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SearchInput>
_DESERIALIZER
Json deserializer forSearchInput
-
Method Summary
Modifier and Type Method Description Input.Kind
_inputKind()
Input variant kind.java.util.List<java.lang.String>
extract()
API name:extract
static SearchInput
of(java.util.function.Function<SearchInput.Builder,ObjectBuilder<SearchInput>> fn)
SearchInputRequestDefinition
request()
Required - API name:request
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupSearchInputDeserializer(ObjectDeserializer<SearchInput.Builder> op)
Time
timeout()
API name:timeout
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.watcher.InputVariant
_toInput
-
Field Details
-
_DESERIALIZER
Json deserializer forSearchInput
-
-
Method Details
-
of
public static SearchInput of(java.util.function.Function<SearchInput.Builder,ObjectBuilder<SearchInput>> fn) -
_inputKind
Input variant kind.- Specified by:
_inputKind
in interfaceInputVariant
-
extract
public final java.util.List<java.lang.String> extract()API name:extract
-
request
Required - API name:request
-
timeout
API name:timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupSearchInputDeserializer
-