public class GetTopicAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable
GetTopicAttributes operation.
Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user.
| Constructor and Description |
|---|
GetTopicAttributesRequest()
Default constructor for a new GetTopicAttributesRequest object.
|
GetTopicAttributesRequest(java.lang.String topicArn)
Constructs a new GetTopicAttributesRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic GetTopicAttributesRequest()
public GetTopicAttributesRequest(java.lang.String topicArn)
topicArn - The ARN of the topic whose properties you want to get.public java.lang.String getTopicArn()
public void setTopicArn(java.lang.String topicArn)
topicArn - The ARN of the topic whose properties you want to get.public GetTopicAttributesRequest withTopicArn(java.lang.String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The ARN of the topic whose properties you want to get.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object