Class ReportingEmailAttachment
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ReportingEmailAttachment
- All Implemented Interfaces:
EmailAttachmentVariant,JsonpSerializable
@JsonpDeserializable public class ReportingEmailAttachment extends java.lang.Object implements EmailAttachmentVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportingEmailAttachment.BuilderBuilder forReportingEmailAttachment. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ReportingEmailAttachment>_DESERIALIZERJson deserializer forReportingEmailAttachment -
Method Summary
Modifier and Type Method Description EmailAttachment.Kind_emailAttachmentKind()EmailAttachment variant kind.java.lang.Booleaninline()API name:inlineTimeinterval()API name:intervalstatic ReportingEmailAttachmentof(java.util.function.Function<ReportingEmailAttachment.Builder,ObjectBuilder<ReportingEmailAttachment>> fn)HttpInputRequestDefinitionrequest()API name:requestjava.lang.Integerretries()API name:retriesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupReportingEmailAttachmentDeserializer(ObjectDeserializer<ReportingEmailAttachment.Builder> op)java.lang.StringtoString()java.lang.Stringurl()Required - API name:urlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.watcher.EmailAttachmentVariant
_toEmailAttachment
-
Field Details
-
_DESERIALIZER
Json deserializer forReportingEmailAttachment
-
-
Method Details
-
of
public static ReportingEmailAttachment of(java.util.function.Function<ReportingEmailAttachment.Builder,ObjectBuilder<ReportingEmailAttachment>> fn) -
_emailAttachmentKind
EmailAttachment variant kind.- Specified by:
_emailAttachmentKindin interfaceEmailAttachmentVariant
-
url
public final java.lang.String url()Required - API name:url -
inline
@Nullable public final java.lang.Boolean inline()API name:inline -
retries
@Nullable public final java.lang.Integer retries()API name:retries -
interval
API name:interval -
request
API name:request -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupReportingEmailAttachmentDeserializer
protected static void setupReportingEmailAttachmentDeserializer(ObjectDeserializer<ReportingEmailAttachment.Builder> op)
-