@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterEventTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Registers a new event topic.
NOOP
Constructor and Description |
---|
RegisterEventTopicRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterEventTopicRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The Directory ID that will publish status messages to the Amazon SNS topic.
|
String |
getTopicName()
The Amazon SNS topic name to which the directory will publish status messages.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
The Directory ID that will publish status messages to the Amazon SNS topic.
|
void |
setTopicName(String topicName)
The Amazon SNS topic name to which the directory will publish status messages.
|
String |
toString()
Returns a string representation of this object.
|
RegisterEventTopicRequest |
withDirectoryId(String directoryId)
The Directory ID that will publish status messages to the Amazon SNS topic.
|
RegisterEventTopicRequest |
withTopicName(String topicName)
The Amazon SNS topic name to which the directory will publish status messages.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The Directory ID that will publish status messages to the Amazon SNS topic.
directoryId
- The Directory ID that will publish status messages to the Amazon SNS topic.public String getDirectoryId()
The Directory ID that will publish status messages to the Amazon SNS topic.
public RegisterEventTopicRequest withDirectoryId(String directoryId)
The Directory ID that will publish status messages to the Amazon SNS topic.
directoryId
- The Directory ID that will publish status messages to the Amazon SNS topic.public void setTopicName(String topicName)
The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must be in the same region as the specified Directory ID.
topicName
- The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must
be in the same region as the specified Directory ID.public String getTopicName()
The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must be in the same region as the specified Directory ID.
public RegisterEventTopicRequest withTopicName(String topicName)
The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must be in the same region as the specified Directory ID.
topicName
- The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must
be in the same region as the specified Directory ID.public String toString()
toString
in class Object
Object.toString()
public RegisterEventTopicRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()