Interface EventTopic.Builder

    • Method Detail

      • directoryId

        EventTopic.Builder directoryId​(String directoryId)

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

        Parameters:
        directoryId - The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topicName

        EventTopic.Builder topicName​(String topicName)

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

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

        EventTopic.Builder topicArn​(String topicArn)

        The Amazon SNS topic ARN (Amazon Resource Name).

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

        EventTopic.Builder createdDateTime​(Instant createdDateTime)

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

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

        EventTopic.Builder status​(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:
        TopicStatus, TopicStatus
      • status

        EventTopic.Builder status​(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:
        TopicStatus, TopicStatus