Class EventTopic
- java.lang.Object
-
- com.amazonaws.services.directory.model.EventTopic
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class EventTopic extends Object implements Serializable, Cloneable
Information about SNS topic and AWS Directory Service directory associations.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventTopic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventTopic
clone()
boolean
equals(Object obj)
Date
getCreatedDateTime()
The date and time of when you associated your directory with the SNS topic.String
getDirectoryId()
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.String
getStatus()
The topic registration status.String
getTopicArn()
The SNS topic ARN (Amazon Resource Name).String
getTopicName()
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
setStatus(String status)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.EventTopic
withCreatedDateTime(Date createdDateTime)
The date and time of when you associated your directory with the SNS topic.EventTopic
withDirectoryId(String directoryId)
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.EventTopic
withStatus(TopicStatus status)
The topic registration status.EventTopic
withStatus(String status)
The topic registration status.EventTopic
withTopicArn(String topicArn)
The SNS topic ARN (Amazon Resource Name).EventTopic
withTopicName(String topicName)
The name of an AWS SNS topic the receives status messages from the directory.
-
-
-
Method Detail
-
setDirectoryId
public void setDirectoryId(String directoryId)
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
public String 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
public EventTopic withDirectoryId(String directoryId)
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
public void setTopicName(String topicName)
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
public String 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
public EventTopic withTopicName(String topicName)
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
public void setTopicArn(String topicArn)
The SNS topic ARN (Amazon Resource Name).
- Parameters:
topicArn
- The SNS topic ARN (Amazon Resource Name).
-
getTopicArn
public String getTopicArn()
The SNS topic ARN (Amazon Resource Name).
- Returns:
- The SNS topic ARN (Amazon Resource Name).
-
withTopicArn
public EventTopic withTopicArn(String topicArn)
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
public void setCreatedDateTime(Date createdDateTime)
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
public Date 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
public EventTopic withCreatedDateTime(Date createdDateTime)
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
public void setStatus(String status)
The topic registration status.
- Parameters:
status
- The topic registration status.- See Also:
TopicStatus
-
getStatus
public String getStatus()
The topic registration status.
- Returns:
- The topic registration status.
- See Also:
TopicStatus
-
withStatus
public EventTopic withStatus(String status)
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:
TopicStatus
-
setStatus
public void setStatus(TopicStatus status)
The topic registration status.
- Parameters:
status
- The topic registration status.- See Also:
TopicStatus
-
withStatus
public EventTopic withStatus(TopicStatus status)
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:
TopicStatus
-
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 EventTopic clone()
-
-