public static class PortalJob.Builder extends Object implements JobCustomizations<PortalJob.Builder>
| Modifier and Type | Method and Description |
|---|---|
PortalJob.Builder |
availableFor(long duration,
TimeUnit unit) |
PortalJob |
build() |
PortalJob.Builder |
requireAuthentication(AuthenticationLevel minimumLevel)
Specify the minimum level of authentication of the signer(s) of this job.
|
PortalJob.Builder |
withActivationTime(Instant activationTime) |
PortalJob.Builder |
withIdentifierInSignedDocuments(IdentifierInSignedDocuments identifier)
Specify how the signer(s) of this job should be identified in the signed documents (XAdES and PAdES);
by
personal identification number and name,
date of birth and name or
name only. |
PortalJob.Builder |
withReference(String reference)
Set a custom reference that is attached to the job.
|
PortalJob.Builder |
withReference(UUID uuid)
Set an
UUID as custom reference that is attached to the job. |
PortalJob.Builder |
withSender(Sender sender)
Set the sender for this specific signature job.
|
public PortalJob.Builder withReference(UUID uuid)
JobCustomizationsUUID as custom reference that is attached to the job.withReference in interface JobCustomizations<PortalJob.Builder>uuid - the UUID to use as reference.public PortalJob.Builder withReference(String reference)
JobCustomizationswithReference in interface JobCustomizations<PortalJob.Builder>reference - the referencepublic PortalJob.Builder withSender(Sender sender)
JobCustomizations
You may use ClientConfiguration.Builder.globalSender(Sender)
to specify a global sender used for all signature jobs.
withSender in interface JobCustomizations<PortalJob.Builder>public PortalJob.Builder requireAuthentication(AuthenticationLevel minimumLevel)
JobCustomizationsrequireAuthentication in interface JobCustomizations<PortalJob.Builder>minimumLevel - the required minimum AuthenticationLevel.public PortalJob.Builder withIdentifierInSignedDocuments(IdentifierInSignedDocuments identifier)
JobCustomizationspersonal identification number and name,
date of birth and name or
name only.
Not all options are available to every sender, this is detailed in the service's functional documentation.
withIdentifierInSignedDocuments in interface JobCustomizations<PortalJob.Builder>identifier - the identifier typepublic PortalJob.Builder withActivationTime(Instant activationTime)
public PortalJob.Builder availableFor(long duration, TimeUnit unit)
public PortalJob build()
Copyright © 2018 Digipost. All rights reserved.