@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTopicResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTopicResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTopicResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the topic.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
TopicDetails |
getTopic()
The definition of a topic.
|
String |
getTopicId()
The ID of the topic that you want to describe.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the topic.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTopic(TopicDetails topic)
The definition of a topic.
|
void |
setTopicId(String topicId)
The ID of the topic that you want to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTopicResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the topic.
|
DescribeTopicResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
DescribeTopicResult |
withStatus(Integer status)
The HTTP status of the request.
|
DescribeTopicResult |
withTopic(TopicDetails topic)
The definition of a topic.
|
DescribeTopicResult |
withTopicId(String topicId)
The ID of the topic that you want to describe.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the topic.
arn
- The Amazon Resource Name (ARN) of the topic.public String getArn()
The Amazon Resource Name (ARN) of the topic.
public DescribeTopicResult withArn(String arn)
The Amazon Resource Name (ARN) of the topic.
arn
- The Amazon Resource Name (ARN) of the topic.public void setTopicId(String topicId)
The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topicId
- The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each
Amazon Web Services account.public String getTopicId()
The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
public DescribeTopicResult withTopicId(String topicId)
The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topicId
- The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each
Amazon Web Services account.public void setTopic(TopicDetails topic)
The definition of a topic.
topic
- The definition of a topic.public TopicDetails getTopic()
The definition of a topic.
public DescribeTopicResult withTopic(TopicDetails topic)
The definition of a topic.
topic
- The definition of a topic.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public DescribeTopicResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public DescribeTopicResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public DescribeTopicResult clone()