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 Ses2Configuration
copy()
String
getAccessKey()
software.amazon.awssdk.services.ses.SesClient
getAmazonSESClient()
String
getBcc()
String
getCc()
String
getConfigurationSet()
The configuration set to send with every requestString
getFrom()
String
getProxyHost()
Integer
getProxyPort()
software.amazon.awssdk.core.Protocol
getProxyProtocol()
String
getRegion()
String
getReplyToAddresses()
String
getReturnPath()
String
getSecretKey()
String
getSubject()
String
getTo()
String
getUriEndpointOverride()
boolean
isOverrideEndpoint()
boolean
isTrustAllCertificates()
Boolean
isUseDefaultCredentialsProvider()
void
setAccessKey(String accessKey)
Amazon AWS Access Keyvoid
setAmazonSESClient(software.amazon.awssdk.services.ses.SesClient amazonSESClient)
To use the AmazonSimpleEmailService as the clientvoid
setBcc(String bcc)
List of comma separated destination blind carbon copy (bcc) email address.void
setCc(String cc)
List of comma separated destination carbon copy (cc) email address.void
setConfigurationSet(String configurationSet)
Set the configuration set to send with every request.void
setFrom(String from)
The sender's email address.void
setOverrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint.void
setProxyHost(String proxyHost)
To define a proxy host when instantiating the SES clientvoid
setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the SES clientvoid
setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the SES clientvoid
setRegion(String region)
The region in which SES client needs to work.void
setReplyToAddresses(String replyToAddresses)
List of comma separated reply-to email address(es) for the message, override it using 'CamelAwsSesReplyToAddresses' header.void
setReturnPath(String returnPath)
The email address to which bounce notifications are to be forwarded, override it using 'CamelAwsSesReturnPath' header.void
setSecretKey(String secretKey)
Amazon AWS Secret Keyvoid
setSubject(String subject)
The subject which is used if the message header 'CamelAwsSesSubject' is not present.void
setTo(String to)
List of comma separated destination email address.void
setTrustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the endpointvoid
setUriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint.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.
-
-
-
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()
-
-