Class NotificationDestinationDetails
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.extensions.NotificationDestinationDetails
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class NotificationDestinationDetails extends java.lang.Object implements java.io.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.unboundiddspackage 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotificationDestinationDetails(java.lang.String id, java.util.Collection<ASN1OctetString> details, java.util.Collection<NotificationSubscriptionDetails> subscriptions)Creates a new notification destination details object with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ASN1OctetString>getDetails()Retrieves the encoded details for this destination details object.java.lang.StringgetID()Retrieves the unique ID for this destination details object.java.util.List<NotificationSubscriptionDetails>getSubscriptions()Retrieves the subscriptions defined for this notification destination, if any.java.lang.StringtoString()Retrieves a string representation of this notification subscription details object.voidtoString(java.lang.StringBuilder buffer)Appends a string representation of this notification subscription details object to the provided buffer.
-
-
-
Constructor Detail
-
NotificationDestinationDetails
public NotificationDestinationDetails(@NotNull java.lang.String id, @NotNull java.util.Collection<ASN1OctetString> details, @Nullable java.util.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 Detail
-
getID
@NotNull public java.lang.String getID()
Retrieves the unique ID for this destination details object.- Returns:
- The unique ID for this destination details object.
-
getDetails
@NotNull public java.util.List<ASN1OctetString> getDetails()
Retrieves the encoded details for this destination details object.- Returns:
- The encoded details for this destination details object.
-
getSubscriptions
@NotNull public java.util.List<NotificationSubscriptionDetails> 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
@NotNull public java.lang.String toString()
Retrieves a string representation of this notification subscription details object.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this notification subscription details object.
-
-