Class EmailConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1alpha1.EmailConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EmailConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EmailConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<EmailConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
EmailConfig configures notifications via Email.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmailConfig()No args constructor for use in serializationEmailConfig(String authIdentity, io.fabric8.kubernetes.api.model.SecretKeySelector authPassword, io.fabric8.kubernetes.api.model.SecretKeySelector authSecret, String authUsername, String from, List<KeyValue> headers, String hello, String html, Boolean requireTLS, Boolean sendResolved, String smarthost, String text, SafeTLSConfig tlsConfig, String to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAuthIdentity()The identity to use for authentication.io.fabric8.kubernetes.api.model.SecretKeySelectorgetAuthPassword()EmailConfig configures notifications via Email.io.fabric8.kubernetes.api.model.SecretKeySelectorgetAuthSecret()EmailConfig configures notifications via Email.StringgetAuthUsername()The username to use for authentication.StringgetFrom()The sender address.List<KeyValue>getHeaders()Further headers email header key/value pairs.StringgetHello()The hostname to identify to the SMTP server.StringgetHtml()The HTML body of the email notification.BooleangetRequireTLS()The SMTP TLS requirement.BooleangetSendResolved()Whether or not to notify about resolved alerts.StringgetSmarthost()The SMTP host and port through which emails are sent.StringgetText()The text body of the email notification.SafeTLSConfiggetTlsConfig()EmailConfig configures notifications via Email.StringgetTo()The email address to send notifications to.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthIdentity(String authIdentity)The identity to use for authentication.voidsetAuthPassword(io.fabric8.kubernetes.api.model.SecretKeySelector authPassword)EmailConfig configures notifications via Email.voidsetAuthSecret(io.fabric8.kubernetes.api.model.SecretKeySelector authSecret)EmailConfig configures notifications via Email.voidsetAuthUsername(String authUsername)The username to use for authentication.voidsetFrom(String from)The sender address.voidsetHeaders(List<KeyValue> headers)Further headers email header key/value pairs.voidsetHello(String hello)The hostname to identify to the SMTP server.voidsetHtml(String html)The HTML body of the email notification.voidsetRequireTLS(Boolean requireTLS)The SMTP TLS requirement.voidsetSendResolved(Boolean sendResolved)Whether or not to notify about resolved alerts.voidsetSmarthost(String smarthost)The SMTP host and port through which emails are sent.voidsetText(String text)The text body of the email notification.voidsetTlsConfig(SafeTLSConfig tlsConfig)EmailConfig configures notifications via Email.voidsetTo(String to)The email address to send notifications to.EmailConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
EmailConfig
public EmailConfig()
No args constructor for use in serialization
-
EmailConfig
public EmailConfig(String authIdentity, io.fabric8.kubernetes.api.model.SecretKeySelector authPassword, io.fabric8.kubernetes.api.model.SecretKeySelector authSecret, String authUsername, String from, List<KeyValue> headers, String hello, String html, Boolean requireTLS, Boolean sendResolved, String smarthost, String text, SafeTLSConfig tlsConfig, String to)
-
-
Method Detail
-
getAuthIdentity
public String getAuthIdentity()
The identity to use for authentication.
-
setAuthIdentity
public void setAuthIdentity(String authIdentity)
The identity to use for authentication.
-
getAuthPassword
public io.fabric8.kubernetes.api.model.SecretKeySelector getAuthPassword()
EmailConfig configures notifications via Email.
-
setAuthPassword
public void setAuthPassword(io.fabric8.kubernetes.api.model.SecretKeySelector authPassword)
EmailConfig configures notifications via Email.
-
getAuthSecret
public io.fabric8.kubernetes.api.model.SecretKeySelector getAuthSecret()
EmailConfig configures notifications via Email.
-
setAuthSecret
public void setAuthSecret(io.fabric8.kubernetes.api.model.SecretKeySelector authSecret)
EmailConfig configures notifications via Email.
-
getAuthUsername
public String getAuthUsername()
The username to use for authentication.
-
setAuthUsername
public void setAuthUsername(String authUsername)
The username to use for authentication.
-
getFrom
public String getFrom()
The sender address.
-
setFrom
public void setFrom(String from)
The sender address.
-
getHeaders
public List<KeyValue> getHeaders()
Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation.
-
setHeaders
public void setHeaders(List<KeyValue> headers)
Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation.
-
getHello
public String getHello()
The hostname to identify to the SMTP server.
-
setHello
public void setHello(String hello)
The hostname to identify to the SMTP server.
-
getHtml
public String getHtml()
The HTML body of the email notification.
-
setHtml
public void setHtml(String html)
The HTML body of the email notification.
-
getRequireTLS
public Boolean getRequireTLS()
The SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.
-
setRequireTLS
public void setRequireTLS(Boolean requireTLS)
The SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.
-
getSendResolved
public Boolean getSendResolved()
Whether or not to notify about resolved alerts.
-
setSendResolved
public void setSendResolved(Boolean sendResolved)
Whether or not to notify about resolved alerts.
-
getSmarthost
public String getSmarthost()
The SMTP host and port through which emails are sent. E.g. example.com:25
-
setSmarthost
public void setSmarthost(String smarthost)
The SMTP host and port through which emails are sent. E.g. example.com:25
-
getText
public String getText()
The text body of the email notification.
-
setText
public void setText(String text)
The text body of the email notification.
-
getTlsConfig
public SafeTLSConfig getTlsConfig()
EmailConfig configures notifications via Email.
-
setTlsConfig
public void setTlsConfig(SafeTLSConfig tlsConfig)
EmailConfig configures notifications via Email.
-
getTo
public String getTo()
The email address to send notifications to.
-
setTo
public void setTo(String to)
The email address to send notifications to.
-
edit
public EmailConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EmailConfigBuilder>
-
toBuilder
public EmailConfigBuilder toBuilder()
-
-