Class EventTopic
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.EventTopic
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventTopic.Builder,EventTopic>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventTopic.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventTopic.Builderbuilder()InstantcreatedDateTime()The date and time of when you associated your directory with the Amazon SNS topic.StringdirectoryId()The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EventTopic.Builder>serializableBuilderClass()TopicStatusstatus()The topic registration status.StringstatusAsString()The topic registration status.EventTopic.BuildertoBuilder()StringtopicArn()The Amazon SNS topic ARN (Amazon Resource Name).StringtopicName()The name of an Amazon SNS topic the receives status messages from the directory.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
directoryId
public final String directoryId()
The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
- Returns:
- The Directory ID of an Directory Service directory that will publish status messages to an Amazon SNS topic.
-
topicName
public final String topicName()
The name of an Amazon SNS topic the receives status messages from the directory.
- Returns:
- The name of an Amazon SNS topic the receives status messages from the directory.
-
topicArn
public final String topicArn()
The Amazon SNS topic ARN (Amazon Resource Name).
- Returns:
- The Amazon SNS topic ARN (Amazon Resource Name).
-
createdDateTime
public final Instant createdDateTime()
The date and time of when you associated your directory with the Amazon SNS topic.
- Returns:
- The date and time of when you associated your directory with the Amazon SNS topic.
-
status
public final TopicStatus status()
The topic registration status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTopicStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The topic registration status.
- See Also:
TopicStatus
-
statusAsString
public final String statusAsString()
The topic registration status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTopicStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The topic registration status.
- See Also:
TopicStatus
-
toBuilder
public EventTopic.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventTopic.Builder,EventTopic>
-
builder
public static EventTopic.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventTopic.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-