com.amazonaws.services.sns.model
Class Topic

java.lang.Object
  extended by com.amazonaws.services.sns.model.Topic

public class Topic
extends Object

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.


Constructor Summary
Topic()
           
 
Method Summary
 String getTopicArn()
          The topic's ARN.
 void setTopicArn(String topicArn)
          The topic's ARN.
 String toString()
           
 Topic withTopicArn(String topicArn)
          The topic's ARN.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Topic

public Topic()
Method Detail

getTopicArn

public String getTopicArn()
The topic's ARN.

Returns:
The topic's ARN.

setTopicArn

public void setTopicArn(String topicArn)
The topic's ARN.

Parameters:
topicArn - The topic's ARN.

withTopicArn

public Topic withTopicArn(String topicArn)
The topic's ARN.

Returns a reference to this object so that method calls can be chained together.

Parameters:
topicArn - The topic's ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.