Class EmailBody.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.EmailBody.Builder
- All Implemented Interfaces:
ObjectBuilder<EmailBody>
- Enclosing class:
- EmailBody
public static class EmailBody.Builder extends ObjectBuilderBase implements ObjectBuilder<EmailBody>
Builder for
EmailBody.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description EmailBodybuild()Builds aEmailBody.EmailBody.Builderhtml(java.lang.String value)API name:htmlEmailBody.Buildertext(java.lang.String value)API name:textMethods 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
-
Builder
public Builder()
-
-
Method Details
-
html
API name:html -
text
API name:text -
build
Builds aEmailBody.- Specified by:
buildin interfaceObjectBuilder<EmailBody>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-