Class ThirdPartyAttributeExtensionBuilder
java.lang.Object
com.yoti.api.client.shareurl.extension.ThirdPartyAttributeExtensionBuilder
- All Implemented Interfaces:
ExtensionBuilder<ThirdPartyAttributeContent>
public class ThirdPartyAttributeExtensionBuilder
extends Object
implements ExtensionBuilder<ThirdPartyAttributeContent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withDefinition(String definition) Add a definition to the list of specified third party attribute definitionswithDefinitions(List<String> definitions) Set the list of third party attribute definitionswithExpiryDate(Date expiryDate) Allows you to specify the expiry date of the third party attribute
-
Constructor Details
-
ThirdPartyAttributeExtensionBuilder
public ThirdPartyAttributeExtensionBuilder()
-
-
Method Details
-
withExpiryDate
Allows you to specify the expiry date of the third party attribute- Parameters:
expiryDate- the expiry date- Returns:
- the builder
-
withDefinition
Add a definition to the list of specified third party attribute definitions- Parameters:
definition- the definition- Returns:
- the builder
-
withDefinitions
Set the list of third party attribute definitions- Parameters:
definitions- the list of definitions- Returns:
- the builder
-
build
- Specified by:
buildin interfaceExtensionBuilder<ThirdPartyAttributeContent>- Returns:
- An object, T, built with parameters of this builder
-