EmailProperties.java

  1. package no.nav.data.common.mail;

  2. import org.springframework.boot.context.properties.ConfigurationProperties;

  3. @ConfigurationProperties("client.email")
  4. public record EmailProperties(
  5.         String baseUrl,
  6.         Integer maxAttempts,
  7.         Integer backoffDurationMillis,
  8.         Boolean enabled
  9. ) { }