Class EmailAttachment.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<EmailAttachment.Builder>
co.elastic.clients.elasticsearch.watcher.EmailAttachment.Builder
- All Implemented Interfaces:
WithJson<EmailAttachment.Builder>
,ObjectBuilder<EmailAttachment>
- Enclosing class:
- EmailAttachment
public static class EmailAttachment.Builder
extends WithJsonObjectBuilderBase<EmailAttachment.Builder>
implements ObjectBuilder<EmailAttachment>
-
Constructor Summary
-
Method Summary
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<EmailAttachment.Builder>
-
http
-
http
public ObjectBuilder<EmailAttachment> http(Function<HttpEmailAttachment.Builder, ObjectBuilder<HttpEmailAttachment>> fn) -
reporting
-
reporting
public ObjectBuilder<EmailAttachment> reporting(Function<ReportingEmailAttachment.Builder, ObjectBuilder<ReportingEmailAttachment>> fn) -
data
-
data
public ObjectBuilder<EmailAttachment> data(Function<DataEmailAttachment.Builder, ObjectBuilder<DataEmailAttachment>> fn) -
build
- Specified by:
build
in interfaceObjectBuilder<EmailAttachment>
-