Class SendGridAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.sendgrid.SendGridAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(com.sendgrid.SendGrid.class)
@ConditionalOnProperty(prefix="spring.sendgrid",
value="api-key")
@EnableConfigurationProperties(SendGridProperties.class)
public class SendGridAutoConfiguration
extends Object
Auto-configuration
for SendGrid.- Since:
- 1.3.0
- Author:
- Maciej Walkowiak, Patrick Bray, Andy Wilkinson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SendGridAutoConfiguration
public SendGridAutoConfiguration()
-
-
Method Details
-
sendGrid
@Bean @ConditionalOnMissingBean(com.sendgrid.SendGridAPI.class) public com.sendgrid.SendGrid sendGrid(SendGridProperties properties)
-