Class ActionWebhook.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.ActionWebhook.Builder
- All Implemented Interfaces:
ObjectBuilder<ActionWebhook>
- Enclosing class:
- ActionWebhook
public static class ActionWebhook.Builder extends ObjectBuilderBase implements ObjectBuilder<ActionWebhook>
Builder for
ActionWebhook
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ActionWebhook
build()
Builds aActionWebhook
.ActionWebhook.Builder
host(java.lang.String value)
Required - API name:host
ActionWebhook.Builder
port(int value)
Required - API name:port
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
host
Required - API name:host
-
port
Required - API name:port
-
build
Builds aActionWebhook
.- Specified by:
build
in interfaceObjectBuilder<ActionWebhook>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-