List of usage examples for com.amazonaws.services.sns.model CreateTopicResult setTopicArn
public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
From source file:org.apache.camel.component.aws.sns.AmazonSNSClientMock.java
License:Apache License
@Override public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException { CreateTopicResult createTopicResult = new CreateTopicResult(); createTopicResult.setTopicArn(DEFAULT_TOPIC_ARN); return createTopicResult; }
From source file:org.apache.camel.itest.osgi.aws.AmazonSNSClientMock.java
License:Apache License
@Override public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException { CreateTopicResult createTopicResult = new CreateTopicResult(); createTopicResult.setTopicArn("arn:aws:sns:us-east-1:541925086079:MyTopic"); return createTopicResult; }