public class RegisterEventTopicRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryId
The Directory ID that will publish status messages to the SNS topic.
|
private java.lang.String |
topicName
The SNS topic name to which the directory will publish status messages.
|
NOOP
Constructor and Description |
---|
RegisterEventTopicRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterEventTopicRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDirectoryId()
The Directory ID that will publish status messages to the SNS topic.
|
java.lang.String |
getTopicName()
The SNS topic name to which the directory will publish status messages.
|
int |
hashCode() |
void |
setDirectoryId(java.lang.String directoryId)
The Directory ID that will publish status messages to the SNS topic.
|
void |
setTopicName(java.lang.String topicName)
The SNS topic name to which the directory will publish status messages.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterEventTopicRequest |
withDirectoryId(java.lang.String directoryId)
The Directory ID that will publish status messages to the SNS topic.
|
RegisterEventTopicRequest |
withTopicName(java.lang.String topicName)
The SNS topic name to which the directory will publish status messages.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String directoryId
The Directory ID that will publish status messages to the SNS topic.
private java.lang.String topicName
The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID.
public void setDirectoryId(java.lang.String directoryId)
The Directory ID that will publish status messages to the SNS topic.
directoryId
- The Directory ID that will publish status messages to the SNS
topic.public java.lang.String getDirectoryId()
The Directory ID that will publish status messages to the SNS topic.
public RegisterEventTopicRequest withDirectoryId(java.lang.String directoryId)
The Directory ID that will publish status messages to the SNS topic.
directoryId
- The Directory ID that will publish status messages to the SNS
topic.public void setTopicName(java.lang.String topicName)
The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID.
topicName
- The SNS topic name to which the directory will publish status
messages. This SNS topic must be in the same region as the
specified Directory ID.public java.lang.String getTopicName()
The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID.
public RegisterEventTopicRequest withTopicName(java.lang.String topicName)
The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID.
topicName
- The SNS topic name to which the directory will publish status
messages. This SNS topic must be in the same region as the
specified Directory ID.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegisterEventTopicRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()