@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 SNS topic.
|
String |
getTopicName()
The 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 SNS topic.
|
void |
setTopicName(String topicName)
The SNS topic name to which the directory will publish status messages.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterEventTopicRequest |
withDirectoryId(String directoryId)
The Directory ID that will publish status messages to the SNS topic.
|
RegisterEventTopicRequest |
withTopicName(String topicName)
The 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 SNS topic.
directoryId
- The Directory ID that will publish status messages to the SNS topic.public String getDirectoryId()
The Directory ID that will publish status messages to the SNS topic.
public RegisterEventTopicRequest withDirectoryId(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public RegisterEventTopicRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.