Class RevokeRequest.RevokeRequestBuilder
- java.lang.Object
-
- org.hyperledger.aries.api.revocation.RevokeRequest.RevokeRequestBuilder
-
- Enclosing class:
- RevokeRequest
public static class RevokeRequest.RevokeRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevokeRequestbuild()RevokeRequest.RevokeRequestBuildercomment(String comment)RevokeRequest.RevokeRequestBuilderconnectionId(String connectionId)Needed when --notify-revocation flag is set, or notify is trueRevokeRequest.RevokeRequestBuildercredExId(String credExId)Either credential exchange identifierRevokeRequest.RevokeRequestBuildercredRevId(String credRevId)Or credential revocation identifierRevokeRequest.RevokeRequestBuildernotify(Boolean notify)Send a notification to the credential recipientRevokeRequest.RevokeRequestBuildernotifyVersion(RevokeRequest.NotifyVersion notifyVersion)Specify which version of the revocation notification should be sentRevokeRequest.RevokeRequestBuilderpublish(Boolean publish)If false, needs a call to /revocation/publish-revocations laterRevokeRequest.RevokeRequestBuilderrevRegId(String revRegId)and revocation registry identifierRevokeRequest.RevokeRequestBuilderthreadId(String threadId)Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is trueStringtoString()
-
-
-
Method Detail
-
comment
public RevokeRequest.RevokeRequestBuilder comment(String comment)
- Returns:
this.
-
connectionId
public RevokeRequest.RevokeRequestBuilder connectionId(String connectionId)
Needed when --notify-revocation flag is set, or notify is true- Returns:
this.- Since:
- 0.7.3
-
credExId
public RevokeRequest.RevokeRequestBuilder credExId(String credExId)
Either credential exchange identifier- Returns:
this.
-
credRevId
public RevokeRequest.RevokeRequestBuilder credRevId(String credRevId)
Or credential revocation identifier- Returns:
this.
-
notify
public RevokeRequest.RevokeRequestBuilder notify(Boolean notify)
Send a notification to the credential recipient- Returns:
this.- Since:
- 0.7.3
-
notifyVersion
public RevokeRequest.RevokeRequestBuilder notifyVersion(RevokeRequest.NotifyVersion notifyVersion)
Specify which version of the revocation notification should be sent- Returns:
this.- Since:
- 0.7.4
-
publish
public RevokeRequest.RevokeRequestBuilder publish(Boolean publish)
If false, needs a call to /revocation/publish-revocations later- Returns:
this.
-
revRegId
public RevokeRequest.RevokeRequestBuilder revRegId(String revRegId)
and revocation registry identifier- Returns:
this.
-
threadId
public RevokeRequest.RevokeRequestBuilder threadId(String threadId)
Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is true- Returns:
this.- Since:
- 0.7.3
-
build
public RevokeRequest build()
-
-