Class PagerDutyEvent.AbstractBuilder<BuilderT extends PagerDutyEvent.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.watcher.PagerDutyEvent.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
PagerDutyAction.Builder,PagerDutyEvent.Builder
- Enclosing class:
- PagerDutyEvent
protected abstract static class PagerDutyEvent.AbstractBuilder<BuilderT extends PagerDutyEvent.AbstractBuilder<BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTaccount(java.lang.String value)API name:accountBuilderTattachPayload(boolean value)Required - API name:attach_payloadBuilderTclient(java.lang.String value)API name:clientBuilderTclientUrl(java.lang.String value)API name:client_urlBuilderTcontexts(PagerDutyContext value, PagerDutyContext... values)API name:contextsBuilderTcontexts(java.util.function.Function<PagerDutyContext.Builder,ObjectBuilder<PagerDutyContext>> fn)API name:contextsBuilderTcontexts(java.util.List<PagerDutyContext> list)API name:contextsBuilderTdescription(java.lang.String value)Required - API name:descriptionBuilderTeventType(PagerDutyEventType value)API name:event_typeBuilderTincidentKey(java.lang.String value)Required - API name:incident_keyBuilderTproxy(PagerDutyEventProxy value)API name:proxyBuilderTproxy(java.util.function.Function<PagerDutyEventProxy.Builder,ObjectBuilder<PagerDutyEventProxy>> fn)API name:proxyprotected abstract BuilderTself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
account
API name:account -
attachPayload
Required - API name:attach_payload -
client
API name:client -
clientUrl
API name:client_url -
contexts
API name:contextsAdds all elements of
listtocontexts. -
contexts
API name:contextsAdds one or more values to
contexts. -
contexts
public final BuilderT contexts(java.util.function.Function<PagerDutyContext.Builder,ObjectBuilder<PagerDutyContext>> fn)API name:contextsAdds a value to
contextsusing a builder lambda. -
description
Required - API name:description -
eventType
API name:event_type -
incidentKey
Required - API name:incident_key -
proxy
API name:proxy -
proxy
public final BuilderT proxy(java.util.function.Function<PagerDutyEventProxy.Builder,ObjectBuilder<PagerDutyEventProxy>> fn)API name:proxy -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends PagerDutyEvent.AbstractBuilder<BuilderT>>
-