@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventTopic extends Object implements Serializable, Cloneable, StructuredPojo
Information about SNS topic and AWS 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 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 |
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 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(String status)
The topic registration status.
|
void |
setStatus(TopicStatus 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(String status)
The topic registration status.
|
EventTopic |
withStatus(TopicStatus 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.
|
public void setDirectoryId(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 String getDirectoryId()
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
public EventTopic withDirectoryId(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(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 String getTopicName()
The name of an AWS SNS topic the receives status messages from the directory.
public EventTopic withTopicName(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(String topicArn)
The SNS topic ARN (Amazon Resource Name).
topicArn
- The SNS topic ARN (Amazon Resource Name).public String getTopicArn()
The SNS topic ARN (Amazon Resource Name).
public EventTopic withTopicArn(String topicArn)
The SNS topic ARN (Amazon Resource Name).
topicArn
- The SNS topic ARN (Amazon Resource Name).public void setCreatedDateTime(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 Date getCreatedDateTime()
The date and time of when you associated your directory with the SNS topic.
public EventTopic withCreatedDateTime(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(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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.