Class DescribeEventTopicsRequest

    • Constructor Detail

      • DescribeEventTopicsRequest

        public DescribeEventTopicsRequest()
    • Method Detail

      • setDirectoryId

        public void setDirectoryId​(String directoryId)

        The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.

        Parameters:
        directoryId - The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
      • getDirectoryId

        public String getDirectoryId()

        The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.

        Returns:
        The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
      • withDirectoryId

        public DescribeEventTopicsRequest withDirectoryId​(String directoryId)

        The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.

        Parameters:
        directoryId - The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTopicNames

        public List<String> getTopicNames()

        A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

        Returns:
        A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

      • setTopicNames

        public void setTopicNames​(Collection<String> topicNames)

        A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

        Parameters:
        topicNames - A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

      • withTopicNames

        public DescribeEventTopicsRequest withTopicNames​(String... topicNames)

        A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

        NOTE: This method appends the values to the existing list (if any). Use setTopicNames(java.util.Collection) or withTopicNames(java.util.Collection) if you want to override the existing values.

        Parameters:
        topicNames - A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTopicNames

        public DescribeEventTopicsRequest withTopicNames​(Collection<String> topicNames)

        A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

        Parameters:
        topicNames - A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

        An empty list results in an InvalidParameterException being thrown.

        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object