Class ActionWebhook
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ActionWebhook
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ActionWebhook extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionWebhook.Builder
Builder forActionWebhook
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ActionWebhook>
_DESERIALIZER
Json deserializer forActionWebhook
-
Method Summary
Modifier and Type Method Description java.lang.String
host()
Required - API name:host
static ActionWebhook
of(java.util.function.Function<ActionWebhook.Builder,ObjectBuilder<ActionWebhook>> fn)
int
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
setupActionWebhookDeserializer(ObjectDeserializer<ActionWebhook.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 forActionWebhook
-
-
Method Details
-
of
public static ActionWebhook of(java.util.function.Function<ActionWebhook.Builder,ObjectBuilder<ActionWebhook>> fn) -
host
public final java.lang.String host()Required - API name:host
-
port
public final int port()Required - API name:port
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupActionWebhookDeserializer
-