public class DescribeEventTopicsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<EventTopic> |
eventTopics
A list of SNS topic names that receive status messages from the specified
Directory ID.
|
Constructor and Description |
---|
DescribeEventTopicsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventTopicsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<EventTopic> |
getEventTopics()
A list of SNS topic names that receive status messages from the specified
Directory ID.
|
int |
hashCode() |
void |
setEventTopics(java.util.Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified
Directory ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventTopicsResult |
withEventTopics(java.util.Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified
Directory ID.
|
DescribeEventTopicsResult |
withEventTopics(EventTopic... eventTopics)
A list of SNS topic names that receive status messages from the specified
Directory ID.
|
private SdkInternalList<EventTopic> eventTopics
A list of SNS topic names that receive status messages from the specified Directory ID.
public java.util.List<EventTopic> getEventTopics()
A list of SNS topic names that receive status messages from the specified Directory ID.
public void setEventTopics(java.util.Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.
eventTopics
- A list of SNS topic names that receive status messages from the
specified Directory ID.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)
or
withEventTopics(java.util.Collection)
if you want to override
the existing values.
eventTopics
- A list of SNS topic names that receive status messages from the
specified Directory ID.public DescribeEventTopicsResult withEventTopics(java.util.Collection<EventTopic> eventTopics)
A list of SNS topic names that receive status messages from the specified Directory ID.
eventTopics
- A list of SNS topic names that receive status messages from the
specified Directory ID.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeEventTopicsResult clone()
clone
in class java.lang.Object