public class GetTopicAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetTopicAttributes operation
.
Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user.
NOOP
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 |
---|---|
GetTopicAttributesRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, 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()
public GetTopicAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.