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