com.amazonaws.services.sns.model
Class GetTopicAttributesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sns.model.GetTopicAttributesRequest

public class GetTopicAttributesRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetTopicAttributes operation.

The GetTopicAttribtues action returns all of the properties of a topic customers have created. Topic properties returned might differ based on the authorization of the user.

See Also:
AmazonSNS.getTopicAttributes(GetTopicAttributesRequest)

Constructor Summary
GetTopicAttributesRequest()
          Default constructor for a new GetTopicAttributesRequest object.
GetTopicAttributesRequest(String topicArn)
          Constructs a new GetTopicAttributesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getTopicArn()
          The ARN of the topic whose properties you want to get.
 int hashCode()
           
 void setTopicArn(String topicArn)
          The ARN of the topic whose properties you want to get.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetTopicAttributesRequest withTopicArn(String topicArn)
          The ARN of the topic whose properties you want to get.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
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(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 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(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(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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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