Class EventTopic

java.lang.Object
com.amazonaws.services.directory.model.EventTopic
All Implemented Interfaces:
Serializable, Cloneable

public class EventTopic extends Object implements Serializable, Cloneable

Information about SNS topic and AWS Directory Service directory associations.

See Also:
  • Constructor Details

    • EventTopic

      public EventTopic()
  • Method Details

    • setDirectoryId

      public void setDirectoryId(String directoryId)

      The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.

      Parameters:
      directoryId - The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
    • getDirectoryId

      public String getDirectoryId()

      The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.

      Returns:
      The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
    • withDirectoryId

      public EventTopic withDirectoryId(String directoryId)

      The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.

      Parameters:
      directoryId - The Directory ID of an AWS Directory Service directory that will publish status messages to an 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 an AWS SNS topic the receives status messages from the directory.

      Parameters:
      topicName - The name of an AWS SNS topic the receives status messages from the directory.
    • getTopicName

      public String getTopicName()

      The name of an AWS SNS topic the receives status messages from the directory.

      Returns:
      The name of an AWS SNS topic the receives status messages from the directory.
    • withTopicName

      public EventTopic withTopicName(String topicName)

      The name of an AWS SNS topic the receives status messages from the directory.

      Parameters:
      topicName - The name of an AWS SNS topic the receives status messages from the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTopicArn

      public void setTopicArn(String topicArn)

      The SNS topic ARN (Amazon Resource Name).

      Parameters:
      topicArn - The SNS topic ARN (Amazon Resource Name).
    • getTopicArn

      public String getTopicArn()

      The SNS topic ARN (Amazon Resource Name).

      Returns:
      The SNS topic ARN (Amazon Resource Name).
    • withTopicArn

      public EventTopic withTopicArn(String topicArn)

      The SNS topic ARN (Amazon Resource Name).

      Parameters:
      topicArn - The SNS topic ARN (Amazon Resource Name).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreatedDateTime

      public void setCreatedDateTime(Date createdDateTime)

      The date and time of when you associated your directory with the SNS topic.

      Parameters:
      createdDateTime - The date and time of when you associated your directory with the SNS topic.
    • getCreatedDateTime

      public Date getCreatedDateTime()

      The date and time of when you associated your directory with the SNS topic.

      Returns:
      The date and time of when you associated your directory with the SNS topic.
    • withCreatedDateTime

      public EventTopic withCreatedDateTime(Date createdDateTime)

      The date and time of when you associated your directory with the SNS topic.

      Parameters:
      createdDateTime - The date and time of when you associated your directory with the SNS topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The topic registration status.

      Parameters:
      status - The topic registration status.
      See Also:
    • getStatus

      public String getStatus()

      The topic registration status.

      Returns:
      The topic registration status.
      See Also:
    • withStatus

      public EventTopic withStatus(String status)

      The topic registration status.

      Parameters:
      status - The topic registration status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(TopicStatus status)

      The topic registration status.

      Parameters:
      status - The topic registration status.
      See Also:
    • withStatus

      public EventTopic withStatus(TopicStatus status)

      The topic registration status.

      Parameters:
      status - The topic registration status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 EventTopic clone()
      Overrides:
      clone in class Object