public class EventTopic
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about SNS topic and AWS Directory Service directory associations.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createdDateTime
The date and time of when you associated your directory with the SNS
topic.
|
private java.lang.String |
directoryId
The Directory ID of an AWS Directory Service directory that will publish
status messages to an SNS topic.
|
private java.lang.String |
status
The topic registration status.
|
private java.lang.String |
topicArn
The SNS topic ARN (Amazon Resource Name).
|
private java.lang.String |
topicName
The name of an AWS SNS topic the receives status messages from the
directory.
|
Constructor and Description |
---|
EventTopic() |
Modifier and Type | Method and Description |
---|---|
EventTopic |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedDateTime()
The date and time of when you associated your directory with the SNS
topic.
|
java.lang.String |
getDirectoryId()
The Directory ID of an AWS Directory Service directory that will publish
status messages to an SNS topic.
|
java.lang.String |
getStatus()
The topic registration status.
|
java.lang.String |
getTopicArn()
The SNS topic ARN (Amazon Resource Name).
|
java.lang.String |
getTopicName()
The name of an AWS SNS topic the receives status messages from the
directory.
|
int |
hashCode() |
void |
setCreatedDateTime(java.util.Date createdDateTime)
The date and time of when you associated your directory with the SNS
topic.
|
void |
setDirectoryId(java.lang.String directoryId)
The Directory ID of an AWS Directory Service directory that will publish
status messages to an SNS topic.
|
void |
setStatus(java.lang.String status)
The topic registration status.
|
void |
setStatus(TopicStatus status)
The topic registration status.
|
void |
setTopicArn(java.lang.String topicArn)
The SNS topic ARN (Amazon Resource Name).
|
void |
setTopicName(java.lang.String topicName)
The name of an AWS SNS topic the receives status messages from the
directory.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventTopic |
withCreatedDateTime(java.util.Date createdDateTime)
The date and time of when you associated your directory with the SNS
topic.
|
EventTopic |
withDirectoryId(java.lang.String directoryId)
The Directory ID of an AWS Directory Service directory that will publish
status messages to an SNS topic.
|
EventTopic |
withStatus(java.lang.String status)
The topic registration status.
|
EventTopic |
withStatus(TopicStatus status)
The topic registration status.
|
EventTopic |
withTopicArn(java.lang.String topicArn)
The SNS topic ARN (Amazon Resource Name).
|
EventTopic |
withTopicName(java.lang.String topicName)
The name of an AWS SNS topic the receives status messages from the
directory.
|
private java.lang.String directoryId
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
private java.lang.String topicName
The name of an AWS SNS topic the receives status messages from the directory.
private java.lang.String topicArn
The SNS topic ARN (Amazon Resource Name).
private java.util.Date createdDateTime
The date and time of when you associated your directory with the SNS topic.
private java.lang.String status
The topic registration status.
public void setDirectoryId(java.lang.String directoryId)
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
directoryId
- The Directory ID of an AWS Directory Service directory that will
publish status messages to an SNS topic.public java.lang.String getDirectoryId()
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
public EventTopic withDirectoryId(java.lang.String directoryId)
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
directoryId
- The Directory ID of an AWS Directory Service directory that will
publish status messages to an SNS topic.public void setTopicName(java.lang.String topicName)
The name of an AWS SNS topic the receives status messages from the directory.
topicName
- The name of an AWS SNS topic the receives status messages from the
directory.public java.lang.String getTopicName()
The name of an AWS SNS topic the receives status messages from the directory.
public EventTopic withTopicName(java.lang.String topicName)
The name of an AWS SNS topic the receives status messages from the directory.
topicName
- The name of an AWS SNS topic the receives status messages from the
directory.public void setTopicArn(java.lang.String topicArn)
The SNS topic ARN (Amazon Resource Name).
topicArn
- The SNS topic ARN (Amazon Resource Name).public java.lang.String getTopicArn()
The SNS topic ARN (Amazon Resource Name).
public EventTopic withTopicArn(java.lang.String topicArn)
The SNS topic ARN (Amazon Resource Name).
topicArn
- The SNS topic ARN (Amazon Resource Name).public void setCreatedDateTime(java.util.Date createdDateTime)
The date and time of when you associated your directory with the SNS topic.
createdDateTime
- The date and time of when you associated your directory with the
SNS topic.public java.util.Date getCreatedDateTime()
The date and time of when you associated your directory with the SNS topic.
public EventTopic withCreatedDateTime(java.util.Date createdDateTime)
The date and time of when you associated your directory with the SNS topic.
createdDateTime
- The date and time of when you associated your directory with the
SNS topic.public void setStatus(java.lang.String status)
The topic registration status.
status
- The topic registration status.TopicStatus
public java.lang.String getStatus()
The topic registration status.
TopicStatus
public EventTopic withStatus(java.lang.String status)
The topic registration status.
status
- The topic registration status.TopicStatus
public void setStatus(TopicStatus status)
The topic registration status.
status
- The topic registration status.TopicStatus
public EventTopic withStatus(TopicStatus status)
The topic registration status.
status
- The topic registration status.TopicStatus
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 EventTopic clone()
clone
in class java.lang.Object