public class GetTopicAttributesRequest extends com.amazonaws.AmazonWebServiceRequest implements 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(String topicArn)
Constructs a new GetTopicAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GetTopicAttributesRequest()
public GetTopicAttributesRequest(String topicArn)
topicArn
- The ARN of the topic whose properties you want to get.public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn
- The ARN of the topic whose properties you want to get.public GetTopicAttributesRequest withTopicArn(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.