Class ReportingEmailAttachment.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ReportingEmailAttachment.Builder>
co.elastic.clients.elasticsearch.watcher.ReportingEmailAttachment.Builder
- All Implemented Interfaces:
WithJson<ReportingEmailAttachment.Builder>,ObjectBuilder<ReportingEmailAttachment>
- Enclosing class:
- ReportingEmailAttachment
public static class ReportingEmailAttachment.Builder extends WithJsonObjectBuilderBase<ReportingEmailAttachment.Builder> implements ObjectBuilder<ReportingEmailAttachment>
Builder for
ReportingEmailAttachment.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ReportingEmailAttachmentbuild()Builds aReportingEmailAttachment.ReportingEmailAttachment.Builderinline(java.lang.Boolean value)API name:inlineReportingEmailAttachment.Builderinterval(Time value)API name:intervalReportingEmailAttachment.Builderinterval(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:intervalReportingEmailAttachment.Builderrequest(HttpInputRequestDefinition value)API name:requestReportingEmailAttachment.Builderrequest(java.util.function.Function<HttpInputRequestDefinition.Builder,ObjectBuilder<HttpInputRequestDefinition>> fn)API name:requestReportingEmailAttachment.Builderretries(java.lang.Integer value)API name:retriesprotected ReportingEmailAttachment.Builderself()ReportingEmailAttachment.Builderurl(java.lang.String value)Required - API name:urlMethods 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
-
Builder
public Builder()
-
-
Method Details
-
url
Required - API name:url -
inline
API name:inline -
retries
API name:retries -
interval
API name:interval -
interval
public final ReportingEmailAttachment.Builder interval(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:interval -
request
API name:request -
request
public final ReportingEmailAttachment.Builder request(java.util.function.Function<HttpInputRequestDefinition.Builder,ObjectBuilder<HttpInputRequestDefinition>> fn)API name:request -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ReportingEmailAttachment.Builder>
-
build
Builds aReportingEmailAttachment.- Specified by:
buildin interfaceObjectBuilder<ReportingEmailAttachment>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-