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:
  • Constructor Details

    • DeregisterEventTopicRequest

      public DeregisterEventTopicRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: