Class PagerDutyEventProxy.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PagerDutyEventProxy.Builder>
co.elastic.clients.elasticsearch.watcher.PagerDutyEventProxy.Builder
- All Implemented Interfaces:
WithJson<PagerDutyEventProxy.Builder>
,ObjectBuilder<PagerDutyEventProxy>
- Enclosing class:
- PagerDutyEventProxy
public static class PagerDutyEventProxy.Builder extends WithJsonObjectBuilderBase<PagerDutyEventProxy.Builder> implements ObjectBuilder<PagerDutyEventProxy>
Builder for
PagerDutyEventProxy
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description PagerDutyEventProxy
build()
Builds aPagerDutyEventProxy
.PagerDutyEventProxy.Builder
host(java.lang.String value)
API name:host
PagerDutyEventProxy.Builder
port(java.lang.Integer value)
API name:port
protected PagerDutyEventProxy.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
API name:host
-
port
API name:port
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PagerDutyEventProxy.Builder>
-
build
Builds aPagerDutyEventProxy
.- Specified by:
build
in interfaceObjectBuilder<PagerDutyEventProxy>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-