public class FastTrackRoleBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
FastTrackRole |
build()
Builds the actual FastTrackRole object.
|
static FastTrackRoleBuilder |
newRoleWithId(String id)
Creates a FastTrackRoleBuilder object.
|
FastTrackRoleBuilder |
withName(String name)
Sets the role's name.
|
FastTrackRoleBuilder |
withSigner(FastTrackSigner signer)
Adds a FastTrackSigner to the FastTrackRole.
|
public static FastTrackRoleBuilder newRoleWithId(String id)
Creates a FastTrackRoleBuilder object.
id - the role's idpublic FastTrackRoleBuilder withName(String name)
name - the role's namepublic FastTrackRoleBuilder withSigner(FastTrackSigner signer)
Adds a FastTrackSigner to the FastTrackRole.
signer - a signer belonging to the rolepublic FastTrackRole build()
Copyright 2022 OneSpan All rights reserved.