Class DescribeEventTopicsResult
- java.lang.Object
-
- com.amazonaws.services.directory.model.DescribeEventTopicsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeEventTopicsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeEventTopicsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEventTopicsResult
clone()
boolean
equals(Object obj)
List<EventTopic>
getEventTopics()
A list of SNS topic names that receive status messages from the specified Directory ID.int
hashCode()
void
setEventTopics(Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeEventTopicsResult
withEventTopics(EventTopic... eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.DescribeEventTopicsResult
withEventTopics(Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.
-
-
-
Method Detail
-
getEventTopics
public List<EventTopic> getEventTopics()
A list of SNS topic names that receive status messages from the specified Directory ID.
- Returns:
- A list of SNS topic names that receive status messages from the specified Directory ID.
-
setEventTopics
public void setEventTopics(Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.
- Parameters:
eventTopics
- A list of SNS topic names that receive status messages from the specified Directory ID.
-
withEventTopics
public DescribeEventTopicsResult withEventTopics(EventTopic... eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.
NOTE: This method appends the values to the existing list (if any). Use
setEventTopics(java.util.Collection)
orwithEventTopics(java.util.Collection)
if you want to override the existing values.- Parameters:
eventTopics
- A list of SNS topic names that receive status messages from the specified Directory ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEventTopics
public DescribeEventTopicsResult withEventTopics(Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.
- Parameters:
eventTopics
- A list of SNS topic names that receive status messages from 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEventTopicsResult clone()
-
-