public static final class Key.Builder extends BaseKey.Builder<Key.Builder>
Methods
build()
public Key build()
Returns | |
---|---|
Type | Description |
Key |
setId(long id)
public Key.Builder setId(long id)
Sets the ID of this key.
Parameter | |
---|---|
Name | Description |
id |
long |
Returns | |
---|---|
Type | Description |
Key.Builder |
setName(String name)
public Key.Builder setName(String name)
Sets the name of this key.
Parameter | |
---|---|
Name | Description |
name |
String |
Returns | |
---|---|
Type | Description |
Key.Builder |