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 EventTopicclone()booleanequals(Object obj)DategetCreatedDateTime()The date and time of when you associated your directory with the SNS topic.StringgetDirectoryId()The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.StringgetStatus()The topic registration status.StringgetTopicArn()The SNS topic ARN (Amazon Resource Name).StringgetTopicName()The name of an AWS SNS topic the receives status messages from the directory.inthashCode()voidsetCreatedDateTime(Date createdDateTime)The date and time of when you associated your directory with the SNS topic.voidsetDirectoryId(String directoryId)The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.voidsetStatus(TopicStatus status)The topic registration status.voidsetStatus(String status)The topic registration status.voidsetTopicArn(String topicArn)The SNS topic ARN (Amazon Resource Name).voidsetTopicName(String topicName)The name of an AWS SNS topic the receives status messages from the directory.StringtoString()Returns a string representation of this object; useful for testing and debugging.EventTopicwithCreatedDateTime(Date createdDateTime)The date and time of when you associated your directory with the SNS topic.EventTopicwithDirectoryId(String directoryId)The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.EventTopicwithStatus(TopicStatus status)The topic registration status.EventTopicwithStatus(String status)The topic registration status.EventTopicwithTopicArn(String topicArn)The SNS topic ARN (Amazon Resource Name).EventTopicwithTopicName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EventTopic clone()
-
-