Class DeregisterEventTopicRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.DeregisterEventTopicRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeregisterEventTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Removes the specified directory as a publisher to the specified SNS topic.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeregisterEventTopicRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeregisterEventTopicRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDirectoryId()
The Directory ID to remove as a publisher.String
getTopicName()
The name of the SNS topic from which to remove the directory as a publisher.int
hashCode()
void
setDirectoryId(String directoryId)
The Directory ID to remove as a publisher.void
setTopicName(String topicName)
The name of the SNS topic from which to remove the directory as a publisher.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeregisterEventTopicRequest
withDirectoryId(String directoryId)
The Directory ID to remove as a publisher.DeregisterEventTopicRequest
withTopicName(String topicName)
The name of the SNS topic from which to remove the directory as a publisher.-
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 to remove as a publisher. This directory will no longer send messages to the specified SNS topic.
- Parameters:
directoryId
- The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.
-
getDirectoryId
public String getDirectoryId()
The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.
- Returns:
- The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.
-
withDirectoryId
public DeregisterEventTopicRequest withDirectoryId(String directoryId)
The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.
- Parameters:
directoryId
- The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicName
public void setTopicName(String topicName)
The name of the SNS topic from which to remove the directory as a publisher.
- Parameters:
topicName
- The name of the SNS topic from which to remove the directory as a publisher.
-
getTopicName
public String getTopicName()
The name of the SNS topic from which to remove the directory as a publisher.
- Returns:
- The name of the SNS topic from which to remove the directory as a publisher.
-
withTopicName
public DeregisterEventTopicRequest withTopicName(String topicName)
The name of the SNS topic from which to remove the directory as a publisher.
- Parameters:
topicName
- The name of the SNS topic from which to remove the directory as a publisher.- 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 DeregisterEventTopicRequest 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()
-
-