Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sns.model
Class Topic

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

public class Topic
extends java.lang.Object

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


Constructor Summary
Topic()
          Default constructor for a new Topic object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getTopicArn()
          The topic's ARN.
 int hashCode()
           
 void setTopicArn(java.lang.String topicArn)
          The topic's ARN.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Topic withTopicArn(java.lang.String topicArn)
          The topic's ARN.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Topic

public Topic()
Default constructor for a new Topic object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getTopicArn

public java.lang.String getTopicArn()
The topic's ARN.

Returns:
The topic's ARN.

setTopicArn

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

Parameters:
topicArn - The topic's ARN.

withTopicArn

public Topic withTopicArn(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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