Class Email.AbstractBuilder<BuilderT extends Email.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.watcher.Email.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
Email.Builder,EmailAction.Builder
- Enclosing class:
protected abstract static class Email.AbstractBuilder<BuilderT extends Email.AbstractBuilder<BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTattachments(java.lang.String key, EmailAttachment value)API name:attachmentsBuilderTattachments(java.lang.String key, java.util.function.Function<EmailAttachment.Builder,ObjectBuilder<EmailAttachment>> fn)API name:attachmentsBuilderTattachments(java.util.Map<java.lang.String,EmailAttachment> map)API name:attachmentsBuilderTbcc(java.lang.String value, java.lang.String... values)API name:bccBuilderTbcc(java.util.List<java.lang.String> list)API name:bccBuilderTbody(EmailBody value)API name:bodyBuilderTbody(java.util.function.Function<EmailBody.Builder,ObjectBuilder<EmailBody>> fn)API name:bodyBuilderTcc(java.lang.String value, java.lang.String... values)API name:ccBuilderTcc(java.util.List<java.lang.String> list)API name:ccBuilderTfrom(java.lang.String value)API name:fromBuilderTid(java.lang.String value)API name:idBuilderTpriority(EmailPriority value)API name:priorityBuilderTreplyTo(java.lang.String value, java.lang.String... values)API name:reply_toBuilderTreplyTo(java.util.List<java.lang.String> list)API name:reply_toprotected abstract BuilderTself()BuilderTsentDate(DateTime value)API name:sent_dateBuilderTsubject(java.lang.String value)Required - API name:subjectBuilderTto(java.lang.String value, java.lang.String... values)Required - API name:toBuilderTto(java.util.List<java.lang.String> list)Required - API name:toMethods 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
-
id
API name:id -
bcc
API name:bccAdds all elements of
listtobcc. -
bcc
API name:bccAdds one or more values to
bcc. -
body
API name:body -
body
public final BuilderT body(java.util.function.Function<EmailBody.Builder,ObjectBuilder<EmailBody>> fn)API name:body -
cc
API name:ccAdds all elements of
listtocc. -
cc
API name:ccAdds one or more values to
cc. -
from
API name:from -
priority
API name:priority -
replyTo
API name:reply_toAdds all elements of
listtoreplyTo. -
replyTo
API name:reply_toAdds one or more values to
replyTo. -
sentDate
API name:sent_date -
subject
Required - API name:subject -
to
Required - API name:toAdds all elements of
listtoto. -
to
Required - API name:toAdds one or more values to
to. -
attachments
API name:attachmentsAdds all entries of
maptoattachments. -
attachments
API name:attachmentsAdds an entry to
attachments. -
attachments
public final BuilderT attachments(java.lang.String key, java.util.function.Function<EmailAttachment.Builder,ObjectBuilder<EmailAttachment>> fn)API name:attachmentsAdds an entry to
attachmentsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends Email.AbstractBuilder<BuilderT>>
-