@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class NotificationDestinationDetails extends java.lang.Object implements java.io.Serializable
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 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.
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ASN1OctetString> |
getDetails()
Retrieves the encoded details for this destination details object.
|
java.lang.String |
getID()
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.String |
toString()
Retrieves a string representation of this notification subscription details
object.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this notification subscription details
object to the provided buffer.
|
public NotificationDestinationDetails(java.lang.String id, java.util.Collection<ASN1OctetString> details, java.util.Collection<NotificationSubscriptionDetails> subscriptions)
id
- The unique ID for this notification destination. It
must not be null
.details
- The encoded details for this notification
destination. It must not be null
or empty.subscriptions
- The subscriptions defined for this notification
destination. It may be null
or empty if
there are no subscriptions for this destination.public java.lang.String getID()
public java.util.List<ASN1OctetString> getDetails()
public java.util.List<NotificationSubscriptionDetails> getSubscriptions()
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.lang.StringBuilder buffer)
buffer
- The buffer to which the information should be appended.