Class Key.Builder (2.21.2)

public static final class Key.Builder extends BaseKey.Builder<Key.Builder>

Inheritance

java.lang.Object > BaseKey.Builder > Key.Builder

Methods

build()

public Key build()
Returns
Type Description
Key
Overrides

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