| Constructor and Description |
|---|
Sns2Configuration() |
| Modifier and Type | Method and Description |
|---|---|
Sns2Configuration |
copy() |
String |
getAccessKey() |
software.amazon.awssdk.services.sns.SnsClient |
getAmazonSNSClient() |
String |
getKmsMasterKeyId() |
MessageDeduplicationIdStrategy |
getMessageDeduplicationIdStrategy() |
MessageGroupIdStrategy |
getMessageGroupIdStrategy() |
String |
getMessageStructure() |
String |
getPolicy() |
String |
getProxyHost() |
Integer |
getProxyPort() |
software.amazon.awssdk.core.Protocol |
getProxyProtocol() |
String |
getQueueUrl() |
String |
getRegion() |
String |
getSecretKey() |
String |
getSubject() |
String |
getTopicArn() |
String |
getTopicName() |
String |
getUriEndpointOverride() |
boolean |
isAutoCreateTopic() |
boolean |
isOverrideEndpoint() |
boolean |
isServerSideEncryptionEnabled() |
boolean |
isSubscribeSNStoSQS() |
boolean |
isTrustAllCertificates() |
boolean |
isUseDefaultCredentialsProvider() |
void |
setAccessKey(String accessKey)
Amazon AWS Access Key
|
void |
setAmazonSNSClient(software.amazon.awssdk.services.sns.SnsClient amazonSNSClient)
To use the AmazonSNS as the client
|
void |
setAutoCreateTopic(boolean autoCreateTopic)
Setting the autocreation of the topic
|
void |
setKmsMasterKeyId(String kmsMasterKeyId)
The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK.
|
void |
setMessageDeduplicationIdStrategy(MessageDeduplicationIdStrategy messageDeduplicationIdStrategy) |
void |
setMessageDeduplicationIdStrategy(String strategy)
Only for FIFO Topic.
|
void |
setMessageGroupIdStrategy(MessageGroupIdStrategy messageGroupIdStrategy) |
void |
setMessageGroupIdStrategy(String strategy)
Only for FIFO Topic.
|
void |
setMessageStructure(String messageStructure)
The message structure to use such as json
|
void |
setOverrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint.
|
void |
setPolicy(String policy)
The policy for this topic.
|
void |
setProxyHost(String proxyHost)
To define a proxy host when instantiating the SNS client
|
void |
setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the SNS client
|
void |
setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the SNS client
|
void |
setQueueUrl(String queueUrl)
The queueUrl to subscribe to
|
void |
setRegion(String region)
The region in which SNS client needs to work.
|
void |
setSecretKey(String secretKey)
Amazon AWS Secret Key
|
void |
setServerSideEncryptionEnabled(boolean serverSideEncryptionEnabled)
Define if Server Side Encryption is enabled or not on the topic
|
void |
setSubject(String subject)
The subject which is used if the message header 'CamelAwsSnsSubject' is not present.
|
void |
setSubscribeSNStoSQS(boolean subscribeSNStoSQS)
Define if the subscription between SNS Topic and SQS must be done or not
|
void |
setTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
|
void |
setTopicName(String topicName)
The name of the topic
|
void |
setTrustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint
|
void |
setUriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint.
|
void |
setUseDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)
Set whether the SNS client should expect to load credentials on an AWS infra instance or to expect static
credentials to be passed in.
|
public String getSubject()
public void setSubject(String subject)
public String getTopicArn()
public void setTopicArn(String topicArn)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecretKey()
public void setSecretKey(String secretKey)
public software.amazon.awssdk.services.sns.SnsClient getAmazonSNSClient()
public void setAmazonSNSClient(software.amazon.awssdk.services.sns.SnsClient amazonSNSClient)
public String getTopicName()
public void setTopicName(String topicName)
public String getPolicy()
public void setPolicy(String policy)
public String getMessageStructure()
public void setMessageStructure(String messageStructure)
public software.amazon.awssdk.core.Protocol getProxyProtocol()
public void setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public String getRegion()
public void setRegion(String region)
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
public boolean isSubscribeSNStoSQS()
public void setSubscribeSNStoSQS(boolean subscribeSNStoSQS)
public String getKmsMasterKeyId()
public void setKmsMasterKeyId(String kmsMasterKeyId)
public boolean isServerSideEncryptionEnabled()
public void setServerSideEncryptionEnabled(boolean serverSideEncryptionEnabled)
public boolean isAutoCreateTopic()
public void setAutoCreateTopic(boolean autoCreateTopic)
public boolean isTrustAllCertificates()
public void setTrustAllCertificates(boolean trustAllCertificates)
public boolean isUseDefaultCredentialsProvider()
public void setUseDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)
public void setMessageGroupIdStrategy(String strategy)
public void setMessageGroupIdStrategy(MessageGroupIdStrategy messageGroupIdStrategy)
public MessageGroupIdStrategy getMessageGroupIdStrategy()
public MessageDeduplicationIdStrategy getMessageDeduplicationIdStrategy()
public void setMessageDeduplicationIdStrategy(String strategy)
public void setMessageDeduplicationIdStrategy(MessageDeduplicationIdStrategy messageDeduplicationIdStrategy)
public boolean isOverrideEndpoint()
public void setOverrideEndpoint(boolean overrideEndpoint)
public String getUriEndpointOverride()
public void setUriEndpointOverride(String uriEndpointOverride)
public Sns2Configuration copy()
Apache Camel