Class 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 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
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)