@Generated(value="software.amazon.awssdk:codegen") public final class EventTopic extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventTopic.Builder,EventTopic>
Information about Amazon SNS topic and 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 Amazon SNS topic.
|
String |
directoryId()
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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() |
String |
topicArn()
The Amazon SNS topic ARN (Amazon Resource Name).
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryId()
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
public final String topicName()
The name of an Amazon SNS topic the receives status messages from the directory.
public final String topicArn()
The Amazon SNS topic ARN (Amazon Resource Name).
public final Instant createdDateTime()
The date and time of when you associated your directory with the Amazon SNS topic.
public final 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().
TopicStatuspublic final 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().
TopicStatuspublic EventTopic.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventTopic.Builder,EventTopic>public static EventTopic.Builder builder()
public static Class<? extends EventTopic.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.