com.amazonaws.services.sns.model
Class GetTopicAttributesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sns.model.GetTopicAttributesRequest
All Implemented Interfaces:
java.io.Serializable

public class GetTopicAttributesRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the GetTopicAttributes operation.

Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user.

See Also:
AmazonSNS.getTopicAttributes(GetTopicAttributesRequest), Serialized Form

Constructor Summary
GetTopicAttributesRequest()
          Default constructor for a new GetTopicAttributesRequest object.
GetTopicAttributesRequest(java.lang.String topicArn)
          Constructs a new GetTopicAttributesRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getTopicArn()
          The ARN of the topic whose properties you want to get.
 int hashCode()
           
 void setTopicArn(java.lang.String topicArn)
          The ARN of the topic whose properties you want to get.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetTopicAttributesRequest withTopicArn(java.lang.String topicArn)
          The ARN of the topic whose properties you want to get.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetTopicAttributesRequest

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


GetTopicAttributesRequest

public GetTopicAttributesRequest(java.lang.String topicArn)
Constructs a new GetTopicAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
topicArn - The ARN of the topic whose properties you want to get.
Method Detail

getTopicArn

public java.lang.String getTopicArn()
The ARN of the topic whose properties you want to get.

Returns:
The ARN of the topic whose properties you want to get.

setTopicArn

public void setTopicArn(java.lang.String topicArn)
The ARN of the topic whose properties you want to get.

Parameters:
topicArn - The ARN of the topic whose properties you want to get.

withTopicArn

public GetTopicAttributesRequest withTopicArn(java.lang.String topicArn)
The ARN of the topic whose properties you want to get.

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

Parameters:
topicArn - The ARN of the topic whose properties you want to get.
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.