Class HttpEmailAttachment.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.HttpEmailAttachment.Builder
- All Implemented Interfaces:
ObjectBuilder<HttpEmailAttachment>
- Enclosing class:
- HttpEmailAttachment
public static class HttpEmailAttachment.Builder extends ObjectBuilderBase implements ObjectBuilder<HttpEmailAttachment>
Builder for
HttpEmailAttachment.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HttpEmailAttachmentbuild()Builds aHttpEmailAttachment.HttpEmailAttachment.BuildercontentType(java.lang.String value)API name:content_typeHttpEmailAttachment.Builderinline(java.lang.Boolean value)API name:inlineHttpEmailAttachment.Builderrequest(HttpInputRequestDefinition value)API name:requestHttpEmailAttachment.Builderrequest(java.util.function.Function<HttpInputRequestDefinition.Builder,ObjectBuilder<HttpInputRequestDefinition>> fn)API name:requestMethods 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
-
contentType
API name:content_type -
inline
API name:inline -
request
API name:request -
request
public final HttpEmailAttachment.Builder request(java.util.function.Function<HttpInputRequestDefinition.Builder,ObjectBuilder<HttpInputRequestDefinition>> fn)API name:request -
build
Builds aHttpEmailAttachment.- Specified by:
buildin interfaceObjectBuilder<HttpEmailAttachment>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-