Class Ses2Configuration
- java.lang.Object
-
- org.apache.camel.component.aws2.ses.Ses2Configuration
-
-
Constructor Summary
Constructors Constructor Description Ses2Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ses2Configurationcopy()StringgetAccessKey()software.amazon.awssdk.services.ses.SesClientgetAmazonSESClient()StringgetBcc()StringgetCc()StringgetConfigurationSet()The configuration set to send with every requestStringgetFrom()StringgetProxyHost()IntegergetProxyPort()software.amazon.awssdk.core.ProtocolgetProxyProtocol()StringgetRegion()StringgetReplyToAddresses()StringgetReturnPath()StringgetSecretKey()StringgetSubject()StringgetTo()StringgetUriEndpointOverride()booleanisOverrideEndpoint()booleanisTrustAllCertificates()BooleanisUseDefaultCredentialsProvider()voidsetAccessKey(String accessKey)Amazon AWS Access KeyvoidsetAmazonSESClient(software.amazon.awssdk.services.ses.SesClient amazonSESClient)To use the AmazonSimpleEmailService as the clientvoidsetBcc(String bcc)List of comma separated destination blind carbon copy (bcc) email address.voidsetCc(String cc)List of comma separated destination carbon copy (cc) email address.voidsetConfigurationSet(String configurationSet)Set the configuration set to send with every request.voidsetFrom(String from)The sender's email address.voidsetOverrideEndpoint(boolean overrideEndpoint)Set the need for overidding the endpoint.voidsetProxyHost(String proxyHost)To define a proxy host when instantiating the SES clientvoidsetProxyPort(Integer proxyPort)To define a proxy port when instantiating the SES clientvoidsetProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)To define a proxy protocol when instantiating the SES clientvoidsetRegion(String region)The region in which SES client needs to work.voidsetReplyToAddresses(String replyToAddresses)List of comma separated reply-to email address(es) for the message, override it using 'CamelAwsSesReplyToAddresses' header.voidsetReturnPath(String returnPath)The email address to which bounce notifications are to be forwarded, override it using 'CamelAwsSesReturnPath' header.voidsetSecretKey(String secretKey)Amazon AWS Secret KeyvoidsetSubject(String subject)The subject which is used if the message header 'CamelAwsSesSubject' is not present.voidsetTo(String to)List of comma separated destination email address.voidsetTrustAllCertificates(boolean trustAllCertificates)If we want to trust all certificates in case of overriding the endpointvoidsetUriEndpointOverride(String uriEndpointOverride)Set the overriding uri endpoint.voidsetUseDefaultCredentialsProvider(Boolean useDefaultCredentialsProvider)Set whether the Ses client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
-
-
-
Method Detail
-
getAccessKey
public String getAccessKey()
-
setAccessKey
public void setAccessKey(String accessKey)
Amazon AWS Access Key
-
getAmazonSESClient
public software.amazon.awssdk.services.ses.SesClient getAmazonSESClient()
-
setAmazonSESClient
public void setAmazonSESClient(software.amazon.awssdk.services.ses.SesClient amazonSESClient)
To use the AmazonSimpleEmailService as the client
-
getFrom
public String getFrom()
-
setFrom
public void setFrom(String from)
The sender's email address.
-
getTo
public String getTo()
-
setTo
public void setTo(String to)
List of comma separated destination email address. Can be overridden with 'CamelAwsSesTo' header.
-
getCc
public String getCc()
-
setCc
public void setCc(String cc)
List of comma separated destination carbon copy (cc) email address. Can be overridden with 'CamelAwsSesCc' header.
-
getBcc
public String getBcc()
-
setBcc
public void setBcc(String bcc)
List of comma separated destination blind carbon copy (bcc) email address. Can be overridden with 'CamelAwsSesBcc' header.
-
getSecretKey
public String getSecretKey()
-
setSecretKey
public void setSecretKey(String secretKey)
Amazon AWS Secret Key
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
The subject which is used if the message header 'CamelAwsSesSubject' is not present.
-
getReturnPath
public String getReturnPath()
-
setReturnPath
public void setReturnPath(String returnPath)
The email address to which bounce notifications are to be forwarded, override it using 'CamelAwsSesReturnPath' header.
-
getReplyToAddresses
public String getReplyToAddresses()
-
setReplyToAddresses
public void setReplyToAddresses(String replyToAddresses)
List of comma separated reply-to email address(es) for the message, override it using 'CamelAwsSesReplyToAddresses' header.
-
getProxyProtocol
public software.amazon.awssdk.core.Protocol getProxyProtocol()
-
setProxyProtocol
public void setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the SES client
-
getProxyHost
public String getProxyHost()
-
setProxyHost
public void setProxyHost(String proxyHost)
To define a proxy host when instantiating the SES client
-
getProxyPort
public Integer getProxyPort()
-
setProxyPort
public void setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the SES client
-
getRegion
public String getRegion()
-
setRegion
public void setRegion(String region)
The region in which SES client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()
-
isTrustAllCertificates
public boolean isTrustAllCertificates()
-
setTrustAllCertificates
public void setTrustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint
-
isOverrideEndpoint
public boolean isOverrideEndpoint()
-
setOverrideEndpoint
public void setOverrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option
-
getUriEndpointOverride
public String getUriEndpointOverride()
-
setUriEndpointOverride
public void setUriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option
-
setUseDefaultCredentialsProvider
public void setUseDefaultCredentialsProvider(Boolean useDefaultCredentialsProvider)
Set whether the Ses client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
-
getConfigurationSet
public String getConfigurationSet()
The configuration set to send with every request
-
setConfigurationSet
public void setConfigurationSet(String configurationSet)
Set the configuration set to send with every request. Override it with 'CamelAwsSesConfigurationSet' header.
-
isUseDefaultCredentialsProvider
public Boolean isUseDefaultCredentialsProvider()
-
copy
public Ses2Configuration copy()
-
-