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 RegisterEventTopicRequest
clone()
Creates a shallow clone of this request.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.-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterEventTopicRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-