public final class AttachmentRequirementBuilder extends Object
The AttachmentRequirementBuilder class is a convenient class used to create and customize a AttachmentRequirement associated with a signer.
Modifier and Type | Method and Description |
---|---|
AttachmentRequirement |
build()
Builds the actual attachment requirement.
|
AttachmentRequirementBuilder |
isRequiredAttachment()
Sets the isRequired property to true.
|
static AttachmentRequirementBuilder |
newAttachmentRequirementWithName(String name)
Creates a AttachmentRequirementBuilder object.
|
AttachmentRequirementBuilder |
withDescription(String description)
Sets the attachment's description.
|
public static AttachmentRequirementBuilder newAttachmentRequirementWithName(String name)
Creates a AttachmentRequirementBuilder object.
name
- the attachment name @size(min="1", max="255")public AttachmentRequirementBuilder withDescription(String description)
description
- the attachment's description @size(max="255")public AttachmentRequirementBuilder isRequiredAttachment()
public AttachmentRequirement build()
Copyright 2014, Silanis Technology, Inc. All rights reserved.