Class RegisterEventTopicRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.RegisterEventTopicRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class RegisterEventTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RegisterEventTopicRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterEventTopicRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDirectoryId()The Directory ID that will publish status messages to the SNS topic.StringgetTopicName()The SNS topic name to which the directory will publish status messages.inthashCode()voidsetDirectoryId(String directoryId)The Directory ID that will publish status messages to the SNS topic.voidsetTopicName(String topicName)The SNS topic name to which the directory will publish status messages.StringtoString()Returns a string representation of this object; useful for testing and debugging.RegisterEventTopicRequestwithDirectoryId(String directoryId)The Directory ID that will publish status messages to the SNS topic.RegisterEventTopicRequestwithTopicName(String topicName)The SNS topic name to which the directory will publish status messages.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setDirectoryId
public void setDirectoryId(String directoryId)
The Directory ID that will publish status messages to the SNS topic.
- Parameters:
directoryId- The Directory ID that will publish status messages to the SNS topic.
-
getDirectoryId
public String getDirectoryId()
The Directory ID that will publish status messages to the SNS topic.
- Returns:
- The Directory ID that will publish status messages to the SNS topic.
-
withDirectoryId
public RegisterEventTopicRequest withDirectoryId(String directoryId)
The Directory ID that will publish status messages to the SNS topic.
- Parameters:
directoryId- The Directory ID that will publish status messages to the SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicName
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.
- Parameters:
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.
-
getTopicName
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.
- Returns:
- 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.
-
withTopicName
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterEventTopicRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-