Class NotificationDestinationDetails
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.extensions.NotificationDestinationDetails
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class NotificationDestinationDetails
extends Object
implements Serializable
This class represents a data structure with information about a notification
destination defined in a Ping Identity, UnboundID, or Nokia/Alcatel-Lucent
8661 server instance.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationDestinationDetails(String id, Collection<ASN1OctetString> details, Collection<NotificationSubscriptionDetails> subscriptions) Creates a new notification destination details object with the provided information. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the encoded details for this destination details object.getID()Retrieves the unique ID for this destination details object.Retrieves the subscriptions defined for this notification destination, if any.toString()Retrieves a string representation of this notification subscription details object.voidtoString(StringBuilder buffer) Appends a string representation of this notification subscription details object to the provided buffer.
-
Constructor Details
-
NotificationDestinationDetails
public NotificationDestinationDetails(@NotNull String id, @NotNull Collection<ASN1OctetString> details, @Nullable Collection<NotificationSubscriptionDetails> subscriptions) Creates a new notification destination details object with the provided information.- Parameters:
id- The unique ID for this notification destination. It must not benull.details- The encoded details for this notification destination. It must not benullor empty.subscriptions- The subscriptions defined for this notification destination. It may benullor empty if there are no subscriptions for this destination.
-
-
Method Details
-
getID
Retrieves the unique ID for this destination details object.- Returns:
- The unique ID for this destination details object.
-
getDetails
Retrieves the encoded details for this destination details object.- Returns:
- The encoded details for this destination details object.
-
getSubscriptions
Retrieves the subscriptions defined for this notification destination, if any.- Returns:
- The subscriptions defined for this notification destination, or an empty list if there are no subscriptions for this destination.
-
toString
Retrieves a string representation of this notification subscription details object. -
toString
Appends a string representation of this notification subscription details object to the provided buffer.- Parameters:
buffer- The buffer to which the information should be appended.
-