Class EventTopic
- All Implemented Interfaces:
Serializable
,Cloneable
Information about SNS topic and AWS Directory Service directory associations.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time of when you associated your directory with the SNS topic.The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.The topic registration status.The SNS topic ARN (Amazon Resource Name).The name of an AWS SNS topic the receives status messages from the directory.int
hashCode()
void
setCreatedDateTime
(Date createdDateTime) The date and time of when you associated your directory with the SNS topic.void
setDirectoryId
(String directoryId) The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.void
setStatus
(TopicStatus status) The topic registration status.void
The topic registration status.void
setTopicArn
(String topicArn) The SNS topic ARN (Amazon Resource Name).void
setTopicName
(String topicName) The name of an AWS SNS topic the receives status messages from the directory.toString()
Returns a string representation of this object; useful for testing and debugging.withCreatedDateTime
(Date createdDateTime) The date and time of when you associated your directory with the SNS topic.withDirectoryId
(String directoryId) The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.withStatus
(TopicStatus status) The topic registration status.withStatus
(String status) The topic registration status.withTopicArn
(String topicArn) The SNS topic ARN (Amazon Resource Name).withTopicName
(String topicName) The name of an AWS SNS topic the receives status messages from the directory.
-
Constructor Details
-
EventTopic
public EventTopic()
-
-
Method Details
-
setDirectoryId
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
- Parameters:
directoryId
- The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
-
getDirectoryId
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
- Returns:
- The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
-
withDirectoryId
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
- Parameters:
directoryId
- The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicName
The name of an AWS SNS topic the receives status messages from the directory.
- Parameters:
topicName
- The name of an AWS SNS topic the receives status messages from the directory.
-
getTopicName
The name of an AWS SNS topic the receives status messages from the directory.
- Returns:
- The name of an AWS SNS topic the receives status messages from the directory.
-
withTopicName
The name of an AWS SNS topic the receives status messages from the directory.
- Parameters:
topicName
- The name of an AWS SNS topic the receives status messages from the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicArn
The SNS topic ARN (Amazon Resource Name).
- Parameters:
topicArn
- The SNS topic ARN (Amazon Resource Name).
-
getTopicArn
The SNS topic ARN (Amazon Resource Name).
- Returns:
- The SNS topic ARN (Amazon Resource Name).
-
withTopicArn
The SNS topic ARN (Amazon Resource Name).
- Parameters:
topicArn
- The SNS topic ARN (Amazon Resource Name).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedDateTime
The date and time of when you associated your directory with the SNS topic.
- Parameters:
createdDateTime
- The date and time of when you associated your directory with the SNS topic.
-
getCreatedDateTime
The date and time of when you associated your directory with the SNS topic.
- Returns:
- The date and time of when you associated your directory with the SNS topic.
-
withCreatedDateTime
The date and time of when you associated your directory with the SNS topic.
- Parameters:
createdDateTime
- The date and time of when you associated your directory with the SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The topic registration status.
- Parameters:
status
- The topic registration status.- See Also:
-
getStatus
The topic registration status.
- Returns:
- The topic registration status.
- See Also:
-
withStatus
The topic registration status.
- Parameters:
status
- The topic registration status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The topic registration status.
- Parameters:
status
- The topic registration status.- See Also:
-
withStatus
The topic registration status.
- Parameters:
status
- The topic registration status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-