public class GetTopicAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GetTopicAttributesRequest()
public GetTopicAttributesRequest(java.lang.String topicArn)
topicArn
- The ARN of the topic whose properties you want to get.
public java.lang.String getTopicArn()
The ARN of the topic whose properties you want to get.
The ARN of the topic whose properties you want to get.
public void setTopicArn(java.lang.String topicArn)
The ARN of the topic whose properties you want to get.
topicArn
- The ARN of the topic whose properties you want to get.
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.
topicArn
- The ARN of the topic whose properties you want to get.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.