Class HttpInputProxy
java.lang.Object
co.elastic.clients.elasticsearch.watcher.HttpInputProxy
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class HttpInputProxy extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpInputProxy.Builder
Builder forHttpInputProxy
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HttpInputProxy>
_DESERIALIZER
Json deserializer forHttpInputProxy
-
Constructor Summary
Constructors Constructor Description HttpInputProxy(HttpInputProxy.Builder builder)
HttpInputProxy(java.util.function.Function<HttpInputProxy.Builder,HttpInputProxy.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
host()
Required - API name:host
java.lang.Number
port()
Required - API name:port
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
setupHttpInputProxyDeserializer(DelegatingDeserializer<HttpInputProxy.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHttpInputProxy
-
-
Constructor Details
-
HttpInputProxy
-
HttpInputProxy
public HttpInputProxy(java.util.function.Function<HttpInputProxy.Builder,HttpInputProxy.Builder> fn)
-
-
Method Details
-
host
public java.lang.String host()Required - API name:host
-
port
public java.lang.Number port()Required - API name:port
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupHttpInputProxyDeserializer
protected static void setupHttpInputProxyDeserializer(DelegatingDeserializer<HttpInputProxy.Builder> op)
-