@Generated(value="software.amazon.awssdk:codegen") public final class EventTopic extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventTopic.Builder,EventTopic>
Information about SNS topic and AWS Directory Service directory associations.
Modifier and Type | Class and Description |
---|---|
static interface |
EventTopic.Builder |
Modifier and Type | Method and Description |
---|---|
static EventTopic.Builder |
builder() |
Instant |
createdDateTime()
The date and time of when you associated your directory with the SNS topic.
|
String |
directoryId()
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventTopic.Builder> |
serializableBuilderClass() |
TopicStatus |
status()
The topic registration status.
|
String |
statusAsString()
The topic registration status.
|
EventTopic.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
topicArn()
The SNS topic ARN (Amazon Resource Name).
|
String |
topicName()
The name of an AWS SNS topic the receives status messages from the directory.
|
String |
toString() |
copy
public String directoryId()
The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.
public String topicName()
The name of an AWS SNS topic the receives status messages from the directory.
public String topicArn()
The SNS topic ARN (Amazon Resource Name).
public Instant createdDateTime()
The date and time of when you associated your directory with the SNS topic.
public TopicStatus status()
The topic registration status.
If the service returns an enum value that is not available in the current SDK version, status
will
return TopicStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
TopicStatus
public String statusAsString()
The topic registration status.
If the service returns an enum value that is not available in the current SDK version, status
will
return TopicStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
TopicStatus
public EventTopic.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventTopic.Builder,EventTopic>
public static EventTopic.Builder builder()
public static Class<? extends EventTopic.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.