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:
public abstract static class Email.AbstractBuilder<BuilderT extends Email.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTattachments(String key, EmailAttachment value) API name:attachmentsfinal BuilderTattachments(String key, EmailAttachmentVariant value) API name:attachmentsfinal BuilderTAPI name:attachmentsfinal BuilderTattachments(Map<String, EmailAttachment> map) API name:attachmentsfinal BuilderTAPI name:bccfinal BuilderTAPI name:bccfinal BuilderTAPI name:bodyfinal BuilderTAPI name:bodyfinal BuilderTAPI name:ccfinal BuilderTAPI name:ccfinal BuilderTAPI name:fromfinal BuilderTAPI name:idfinal BuilderTpriority(EmailPriority value) API name:priorityfinal BuilderTAPI name:reply_tofinal BuilderTAPI name:reply_toprotected abstract BuilderTself()final BuilderTAPI name:sent_datefinal BuilderTRequired - API name:subjectfinal BuilderTRequired - API name:tofinal BuilderTRequired - API name:toMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public 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
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
API name:attachmentsAdds an entry to
attachments. -
attachments
public final BuilderT attachments(String key, 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>>
-