@Configuration @ConditionalOnClass(value=com.sendgrid.SendGrid.class) @ConditionalOnProperty(prefix="spring.sendgrid", value="api-key") @EnableConfigurationProperties(value=SendGridProperties.class) public class SendGridAutoConfiguration extends Object
Auto-configuration
for SendGrid.Constructor and Description |
---|
SendGridAutoConfiguration(SendGridProperties properties) |
public SendGridAutoConfiguration(SendGridProperties properties)
@Bean @ConditionalOnMissingBean public com.sendgrid.SendGrid sendGrid()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.