final case class CheckAlertEmailTargetConfig(id: ID, recipients: Refined[Seq[Email], NonEmpty], checks: Seq[NonEmptyString] = Seq.empty, subjectTemplate: Option[NonEmptyString], template: Option[NonEmptyString], templateFile: Option[URI]) extends CheckAlertTargetConfig with EmailOutputConfig with Product with Serializable
Check alert target configuration with output to recipients via email
- id
Check alert ID
- recipients
Non-empty sequence of recipients' emails.
- checks
Sequence of checks to send alerts for. Default: empty sequence (send alerts for all checks)
- subjectTemplate
Mustache template used to customize email subject. If omitted, default subject name is used.
- template
Mustache Html template for email body.
- templateFile
Location of file with Mustache Html template for email body.
- Note
Template for email body can be provided either explicitly in
template
argument or read from file provided intemplateFile
argument. Both of these arguments are allowed. Also, if both of these arguments are omitted, then default email body is used.
- Alphabetic
- By Inheritance
- CheckAlertEmailTargetConfig
- Serializable
- Serializable
- Product
- Equals
- EmailOutputConfig
- NotificationOutputConfig
- OutputConfig
- CheckAlertTargetConfig
- TargetConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CheckAlertEmailTargetConfig(id: ID, recipients: Refined[Seq[Email], NonEmpty], checks: Seq[NonEmptyString] = Seq.empty, subjectTemplate: Option[NonEmptyString], template: Option[NonEmptyString], templateFile: Option[URI])
- id
Check alert ID
- recipients
Non-empty sequence of recipients' emails.
- checks
Sequence of checks to send alerts for. Default: empty sequence (send alerts for all checks)
- subjectTemplate
Mustache template used to customize email subject. If omitted, default subject name is used.
- template
Mustache Html template for email body.
- templateFile
Location of file with Mustache Html template for email body.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
checks: Seq[NonEmptyString]
- Definition Classes
- CheckAlertEmailTargetConfig → CheckAlertTargetConfig
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
id: ID
- Definition Classes
- CheckAlertEmailTargetConfig → CheckAlertTargetConfig
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
recipients: Refined[Seq[Email], NonEmpty]
- Definition Classes
- CheckAlertEmailTargetConfig → EmailOutputConfig
-
val
recipientsList: Seq[String]
- Definition Classes
- EmailOutputConfig → NotificationOutputConfig
-
val
subjectTemplate: Option[NonEmptyString]
- Definition Classes
- CheckAlertEmailTargetConfig → EmailOutputConfig → NotificationOutputConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
template: Option[NonEmptyString]
- Definition Classes
- CheckAlertEmailTargetConfig → EmailOutputConfig → NotificationOutputConfig
-
val
templateFile: Option[URI]
- Definition Classes
- CheckAlertEmailTargetConfig → EmailOutputConfig → NotificationOutputConfig
-
val
templateFormat: TemplateFormat
- Definition Classes
- EmailOutputConfig → NotificationOutputConfig
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()