Class JSONAssuredReplicationServerResult
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONAssuredReplicationServerResult
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONAssuredReplicationServerResult extends java.lang.Object implements java.io.Serializable
This class provides a data structure that contains information about a server result from an assurance completed access log message.
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONAssuredReplicationServerResult(JSONObject serverResultObject)
Creates a new JSON assured replication server result that is decoded from the provided JSON object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getReplicaID()
Retrieves the replica ID for this server result.java.lang.Long
getReplicationServerID()
Retrieves the replication server ID for this server result.AssuredReplicationServerResultCode
getResultCode()
Retrieves the result code for this server result.JSONObject
getServerResultObject()
Retrieves the JSON object containing an encoded representation of this assured replication server result.java.lang.String
toString()
Retrieves a string representation of this JSON assured replication server result.
-
-
-
Constructor Detail
-
JSONAssuredReplicationServerResult
public JSONAssuredReplicationServerResult(@NotNull JSONObject serverResultObject)
Creates a new JSON assured replication server result that is decoded from the provided JSON object.- Parameters:
serverResultObject
- The JSON object containing an encoded representation of this server result.
-
-
Method Detail
-
getServerResultObject
@NotNull public JSONObject getServerResultObject()
Retrieves the JSON object containing an encoded representation of this assured replication server result.- Returns:
- The JSON object containing an encoded representation of this certificate.
-
getResultCode
@Nullable public AssuredReplicationServerResultCode getResultCode()
Retrieves the result code for this server result.- Returns:
- The result code for this server result.
-
getReplicationServerID
@Nullable public java.lang.Long getReplicationServerID()
Retrieves the replication server ID for this server result.- Returns:
- The replication server ID for this server result.
-
getReplicaID
@Nullable public java.lang.Long getReplicaID()
Retrieves the replica ID for this server result.- Returns:
- The replica ID for this server result.
-
-