Class GlobalSMTPConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.GlobalSMTPConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GlobalSMTPConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GlobalSMTPConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<GlobalSMTPConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlobalSMTPConfig()No args constructor for use in serializationGlobalSMTPConfig(String authIdentity, io.fabric8.kubernetes.api.model.SecretKeySelector authPassword, io.fabric8.kubernetes.api.model.SecretKeySelector authSecret, String authUsername, String from, String hello, Boolean requireTLS, HostPort smartHost, SafeTLSConfig tlsConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalSMTPConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAuthIdentity()SMTP Auth using PLAINio.fabric8.kubernetes.api.model.SecretKeySelectorgetAuthPassword()GlobalSMTPConfig configures global SMTP parameters.io.fabric8.kubernetes.api.model.SecretKeySelectorgetAuthSecret()GlobalSMTPConfig configures global SMTP parameters.StringgetAuthUsername()SMTP Auth using CRAM-MD5, LOGIN and PLAIN.StringgetFrom()The default SMTP From header field.StringgetHello()The default hostname to identify to the SMTP server.BooleangetRequireTLS()The default SMTP TLS requirement.HostPortgetSmartHost()GlobalSMTPConfig configures global SMTP parameters.SafeTLSConfiggetTlsConfig()GlobalSMTPConfig configures global SMTP parameters.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthIdentity(String authIdentity)SMTP Auth using PLAINvoidsetAuthPassword(io.fabric8.kubernetes.api.model.SecretKeySelector authPassword)GlobalSMTPConfig configures global SMTP parameters.voidsetAuthSecret(io.fabric8.kubernetes.api.model.SecretKeySelector authSecret)GlobalSMTPConfig configures global SMTP parameters.voidsetAuthUsername(String authUsername)SMTP Auth using CRAM-MD5, LOGIN and PLAIN.voidsetFrom(String from)The default SMTP From header field.voidsetHello(String hello)The default hostname to identify to the SMTP server.voidsetRequireTLS(Boolean requireTLS)The default SMTP TLS requirement.voidsetSmartHost(HostPort smartHost)GlobalSMTPConfig configures global SMTP parameters.voidsetTlsConfig(SafeTLSConfig tlsConfig)GlobalSMTPConfig configures global SMTP parameters.GlobalSMTPConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
GlobalSMTPConfig
public GlobalSMTPConfig()
No args constructor for use in serialization
-
GlobalSMTPConfig
public GlobalSMTPConfig(String authIdentity, io.fabric8.kubernetes.api.model.SecretKeySelector authPassword, io.fabric8.kubernetes.api.model.SecretKeySelector authSecret, String authUsername, String from, String hello, Boolean requireTLS, HostPort smartHost, SafeTLSConfig tlsConfig)
-
-
Method Detail
-
getAuthIdentity
public String getAuthIdentity()
SMTP Auth using PLAIN
-
setAuthIdentity
public void setAuthIdentity(String authIdentity)
SMTP Auth using PLAIN
-
getAuthPassword
public io.fabric8.kubernetes.api.model.SecretKeySelector getAuthPassword()
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
setAuthPassword
public void setAuthPassword(io.fabric8.kubernetes.api.model.SecretKeySelector authPassword)
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
getAuthSecret
public io.fabric8.kubernetes.api.model.SecretKeySelector getAuthSecret()
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
setAuthSecret
public void setAuthSecret(io.fabric8.kubernetes.api.model.SecretKeySelector authSecret)
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
getAuthUsername
public String getAuthUsername()
SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.
-
setAuthUsername
public void setAuthUsername(String authUsername)
SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.
-
getFrom
public String getFrom()
The default SMTP From header field.
-
setFrom
public void setFrom(String from)
The default SMTP From header field.
-
getHello
public String getHello()
The default hostname to identify to the SMTP server.
-
setHello
public void setHello(String hello)
The default hostname to identify to the SMTP server.
-
getRequireTLS
public Boolean getRequireTLS()
The default SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.
-
setRequireTLS
public void setRequireTLS(Boolean requireTLS)
The default SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.
-
getSmartHost
public HostPort getSmartHost()
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
setSmartHost
public void setSmartHost(HostPort smartHost)
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
getTlsConfig
public SafeTLSConfig getTlsConfig()
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
setTlsConfig
public void setTlsConfig(SafeTLSConfig tlsConfig)
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
edit
public GlobalSMTPConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GlobalSMTPConfigBuilder>
-
toBuilder
public GlobalSMTPConfigBuilder toBuilder()
-
-