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

    • RegisterEventTopicRequest

      public RegisterEventTopicRequest()
  • Method Details

    • 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 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

      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 class AmazonWebServiceRequest
      See Also: