Class DescribeEventTopicsRequest

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

public class DescribeEventTopicsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeEventTopicsRequest

      public DescribeEventTopicsRequest()
  • Method Details

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