@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventTopic extends Object implements Serializable, Cloneable, StructuredPojo
Information about Amazon SNS topic and Directory Service directory associations.
Constructor and Description |
---|
EventTopic() |
Modifier and Type | Method and Description |
---|---|
EventTopic |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDateTime()
The date and time of when you associated your directory with the Amazon SNS topic.
|
String |
getDirectoryId()
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
|
String |
getStatus()
The topic registration status.
|
String |
getTopicArn()
The Amazon SNS topic ARN (Amazon Resource Name).
|
String |
getTopicName()
The name of an Amazon SNS topic the receives status messages from the directory.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDateTime(Date createdDateTime)
The date and time of when you associated your directory with the Amazon SNS topic.
|
void |
setDirectoryId(String directoryId)
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
|
void |
setStatus(String status)
The topic registration status.
|
void |
setStatus(TopicStatus status)
The topic registration status.
|
void |
setTopicArn(String topicArn)
The Amazon SNS topic ARN (Amazon Resource Name).
|
void |
setTopicName(String topicName)
The name of an Amazon SNS topic the receives status messages from the directory.
|
String |
toString()
Returns a string representation of this object.
|
EventTopic |
withCreatedDateTime(Date createdDateTime)
The date and time of when you associated your directory with the Amazon SNS topic.
|
EventTopic |
withDirectoryId(String directoryId)
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
|
EventTopic |
withStatus(String status)
The topic registration status.
|
EventTopic |
withStatus(TopicStatus status)
The topic registration status.
|
EventTopic |
withTopicArn(String topicArn)
The Amazon SNS topic ARN (Amazon Resource Name).
|
EventTopic |
withTopicName(String topicName)
The name of an Amazon SNS topic the receives status messages from the directory.
|
public void setDirectoryId(String directoryId)
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
directoryId
- The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS
topic.public String getDirectoryId()
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
public EventTopic withDirectoryId(String directoryId)
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
directoryId
- The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS
topic.public void setTopicName(String topicName)
The name of an Amazon SNS topic the receives status messages from the directory.
topicName
- The name of an Amazon SNS topic the receives status messages from the directory.public String getTopicName()
The name of an Amazon SNS topic the receives status messages from the directory.
public EventTopic withTopicName(String topicName)
The name of an Amazon SNS topic the receives status messages from the directory.
topicName
- The name of an Amazon SNS topic the receives status messages from the directory.public void setTopicArn(String topicArn)
The Amazon SNS topic ARN (Amazon Resource Name).
topicArn
- The Amazon SNS topic ARN (Amazon Resource Name).public String getTopicArn()
The Amazon SNS topic ARN (Amazon Resource Name).
public EventTopic withTopicArn(String topicArn)
The Amazon SNS topic ARN (Amazon Resource Name).
topicArn
- The Amazon SNS topic ARN (Amazon Resource Name).public void setCreatedDateTime(Date createdDateTime)
The date and time of when you associated your directory with the Amazon SNS topic.
createdDateTime
- The date and time of when you associated your directory with the Amazon SNS topic.public Date getCreatedDateTime()
The date and time of when you associated your directory with the Amazon SNS topic.
public EventTopic withCreatedDateTime(Date createdDateTime)
The date and time of when you associated your directory with the Amazon SNS topic.
createdDateTime
- The date and time of when you associated your directory with the Amazon SNS topic.public void setStatus(String status)
The topic registration status.
status
- The topic registration status.TopicStatus
public String getStatus()
The topic registration status.
TopicStatus
public EventTopic withStatus(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 String toString()
toString
in class Object
Object.toString()
public EventTopic clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.