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 classActionWebhook.BuilderBuilder forActionWebhook. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ActionWebhook>_DESERIALIZERJson deserializer forActionWebhook -
Method Summary
Modifier and Type Method Description java.lang.Stringhost()Required - API name:hoststatic ActionWebhookof(java.util.function.Function<ActionWebhook.Builder,ObjectBuilder<ActionWebhook>> fn)intport()Required - API name:portvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupActionWebhookDeserializer(ObjectDeserializer<ActionWebhook.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupActionWebhookDeserializer
-