Class GlobalSMTPConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.GlobalSMTPConfig
-
- All Implemented Interfaces:
Editable<GlobalSMTPConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GlobalSMTPConfig extends Object implements Editable<GlobalSMTPConfigBuilder>, 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, SecretKeySelector authPassword, SecretKeySelector authSecret, String authUsername, Boolean forceImplicitTLS, 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()authIdentity represents SMTP Auth using PLAINSecretKeySelectorgetAuthPassword()GlobalSMTPConfig configures global SMTP parameters.SecretKeySelectorgetAuthSecret()GlobalSMTPConfig configures global SMTP parameters.StringgetAuthUsername()authUsername represents SMTP Auth using CRAM-MD5, LOGIN and PLAIN.BooleangetForceImplicitTLS()forceImplicitTLS defines whether to force use of implicit TLS (direct TLS connection) for better security. true: force use of implicit TLS (direct TLS connection on any port) false: force disable implicit TLS (use explicit TLS/STARTTLS if required) nil (default): auto-detect based on port (465=implicit, other=explicit) for backward compatibility It requires Alertmanager >= v0.31.0.StringgetFrom()from defines the default SMTP From header field.StringgetHello()hello defines the default hostname to identify to the SMTP server.BooleangetRequireTLS()requireTLS defines 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)authIdentity represents SMTP Auth using PLAINvoidsetAuthPassword(SecretKeySelector authPassword)GlobalSMTPConfig configures global SMTP parameters.voidsetAuthSecret(SecretKeySelector authSecret)GlobalSMTPConfig configures global SMTP parameters.voidsetAuthUsername(String authUsername)authUsername represents SMTP Auth using CRAM-MD5, LOGIN and PLAIN.voidsetForceImplicitTLS(Boolean forceImplicitTLS)forceImplicitTLS defines whether to force use of implicit TLS (direct TLS connection) for better security. true: force use of implicit TLS (direct TLS connection on any port) false: force disable implicit TLS (use explicit TLS/STARTTLS if required) nil (default): auto-detect based on port (465=implicit, other=explicit) for backward compatibility It requires Alertmanager >= v0.31.0.voidsetFrom(String from)from defines the default SMTP From header field.voidsetHello(String hello)hello defines the default hostname to identify to the SMTP server.voidsetRequireTLS(Boolean requireTLS)requireTLS defines 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, SecretKeySelector authPassword, SecretKeySelector authSecret, String authUsername, Boolean forceImplicitTLS, String from, String hello, Boolean requireTLS, HostPort smartHost, SafeTLSConfig tlsConfig)
-
-
Method Detail
-
getAuthIdentity
public String getAuthIdentity()
authIdentity represents SMTP Auth using PLAIN
-
setAuthIdentity
public void setAuthIdentity(String authIdentity)
authIdentity represents SMTP Auth using PLAIN
-
getAuthPassword
public SecretKeySelector getAuthPassword()
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
setAuthPassword
public void setAuthPassword(SecretKeySelector authPassword)
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
getAuthSecret
public SecretKeySelector getAuthSecret()
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
setAuthSecret
public void setAuthSecret(SecretKeySelector authSecret)
GlobalSMTPConfig configures global SMTP parameters. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
-
getAuthUsername
public String getAuthUsername()
authUsername represents SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.
-
setAuthUsername
public void setAuthUsername(String authUsername)
authUsername represents SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.
-
getForceImplicitTLS
public Boolean getForceImplicitTLS()
forceImplicitTLS defines whether to force use of implicit TLS (direct TLS connection) for better security. true: force use of implicit TLS (direct TLS connection on any port) false: force disable implicit TLS (use explicit TLS/STARTTLS if required) nil (default): auto-detect based on port (465=implicit, other=explicit) for backward compatibility It requires Alertmanager >= v0.31.0.
-
setForceImplicitTLS
public void setForceImplicitTLS(Boolean forceImplicitTLS)
forceImplicitTLS defines whether to force use of implicit TLS (direct TLS connection) for better security. true: force use of implicit TLS (direct TLS connection on any port) false: force disable implicit TLS (use explicit TLS/STARTTLS if required) nil (default): auto-detect based on port (465=implicit, other=explicit) for backward compatibility It requires Alertmanager >= v0.31.0.
-
getFrom
public String getFrom()
from defines the default SMTP From header field.
-
setFrom
public void setFrom(String from)
from defines the default SMTP From header field.
-
getHello
public String getHello()
hello defines the default hostname to identify to the SMTP server.
-
setHello
public void setHello(String hello)
hello defines the default hostname to identify to the SMTP server.
-
getRequireTLS
public Boolean getRequireTLS()
requireTLS defines the default SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.
-
setRequireTLS
public void setRequireTLS(Boolean requireTLS)
requireTLS defines 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 interfaceEditable<GlobalSMTPConfigBuilder>
-
toBuilder
public GlobalSMTPConfigBuilder toBuilder()
-
-