public class SMTPNotificationRuleBase extends NotificationRule
Modifier and Type | Class and Description |
---|---|
static class |
SMTPNotificationRuleBase.TypeEnum
Gets or Sets type
|
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_BODY_TEMPLATE |
static String |
SERIALIZED_NAME_SUBJECT_TEMPLATE |
static String |
SERIALIZED_NAME_TO |
static String |
SERIALIZED_NAME_TYPE |
SERIALIZED_NAME_CREATED_AT, SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_ENDPOINT_I_D, SERIALIZED_NAME_EVERY, SERIALIZED_NAME_ID, SERIALIZED_NAME_LABELS, SERIALIZED_NAME_LIMIT, SERIALIZED_NAME_LIMIT_EVERY, SERIALIZED_NAME_LINKS, SERIALIZED_NAME_NAME, SERIALIZED_NAME_OFFSET, SERIALIZED_NAME_ORG_I_D, SERIALIZED_NAME_OWNER_I_D, SERIALIZED_NAME_RUNBOOK_LINK, SERIALIZED_NAME_SLEEP_UNTIL, SERIALIZED_NAME_STATUS, SERIALIZED_NAME_STATUS_RULES, SERIALIZED_NAME_TAG_RULES, SERIALIZED_NAME_UPDATED_AT
Constructor and Description |
---|
SMTPNotificationRuleBase() |
Modifier and Type | Method and Description |
---|---|
SMTPNotificationRuleBase |
bodyTemplate(String bodyTemplate) |
boolean |
equals(Object o) |
String |
getBodyTemplate()
Get bodyTemplate
|
String |
getSubjectTemplate()
Get subjectTemplate
|
String |
getTo()
Get to
|
SMTPNotificationRuleBase.TypeEnum |
getType()
Get type
|
int |
hashCode() |
void |
setBodyTemplate(String bodyTemplate) |
void |
setSubjectTemplate(String subjectTemplate) |
void |
setTo(String to) |
SMTPNotificationRuleBase |
subjectTemplate(String subjectTemplate) |
SMTPNotificationRuleBase |
to(String to) |
String |
toString() |
addLabelsItem, addStatusRulesItem, addTagRulesItem, description, endpointID, every, getCreatedAt, getDescription, getEndpointID, getEvery, getId, getLabels, getLimit, getLimitEvery, getLinks, getName, getOffset, getOrgID, getOwnerID, getRunbookLink, getSleepUntil, getStatus, getStatusRules, getTagRules, getUpdatedAt, labels, limit, limitEvery, links, name, offset, orgID, runbookLink, setDescription, setEndpointID, setEvery, setLabels, setLimit, setLimitEvery, setLinks, setName, setOffset, setOrgID, setRunbookLink, setSleepUntil, setStatus, setStatusRules, setTagRules, sleepUntil, status, statusRules, tagRules
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_SUBJECT_TEMPLATE
public static final String SERIALIZED_NAME_BODY_TEMPLATE
public static final String SERIALIZED_NAME_TO
public SMTPNotificationRuleBase.TypeEnum getType()
public SMTPNotificationRuleBase subjectTemplate(String subjectTemplate)
public String getSubjectTemplate()
public void setSubjectTemplate(String subjectTemplate)
public SMTPNotificationRuleBase bodyTemplate(String bodyTemplate)
public String getBodyTemplate()
public void setBodyTemplate(String bodyTemplate)
public SMTPNotificationRuleBase to(String to)
public String getTo()
public void setTo(String to)
public boolean equals(Object o)
equals
in class NotificationRule
public int hashCode()
hashCode
in class NotificationRule
public String toString()
toString
in class NotificationRule
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.